summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-04-19 18:18:32 +0200
committerJose <jose@zeroc.com>2012-04-19 18:18:32 +0200
commit7b5ad5fe7473799c282fc7fc13f0fe417c00b4f3 (patch)
tree4e4e1863bd0bdd879d8470f2699441a1b1d03347
parentICE-4664 - Remove obsolete code in StringUtil.cs (diff)
downloadice-7b5ad5fe7473799c282fc7fc13f0fe417c00b4f3.tar.bz2
ice-7b5ad5fe7473799c282fc7fc13f0fe417c00b4f3.tar.xz
ice-7b5ad5fe7473799c282fc7fc13f0fe417c00b4f3.zip
minor fix to IcePHP getLogger
-rw-r--r--php/src/IcePHP/Communicator.cpp5
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);