diff options
-rw-r--r-- | php/src/IcePHP/Communicator.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/php/src/IcePHP/Communicator.cpp b/php/src/IcePHP/Communicator.cpp index 781e175577f..702d6257b38 100644 --- a/php/src/IcePHP/Communicator.cpp +++ b/php/src/IcePHP/Communicator.cpp @@ -496,6 +496,11 @@ ZEND_METHOD(Ice_Communicator, getProperties) ZEND_METHOD(Ice_Communicator, getLogger) { + if(ZEND_NUM_ARGS() > 0) + { + WRONG_PARAM_COUNT; + } + CommunicatorInfoIPtr _this = Wrapper<CommunicatorInfoIPtr>::value(getThis() TSRMLS_CC); assert(_this); |