diff options
author | Mark Spruiell <mes@zeroc.com> | 2008-09-08 16:28:41 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2008-09-08 16:28:41 -0700 |
commit | ba2ebcd7907c6af778b1f2cd6f226c5c970d49d4 (patch) | |
tree | cbabd32b5fc427b71801d3e950ace46c9c0fc54f /php/src/IcePHP/Proxy.cpp | |
parent | Use tmpfile() to create preporcessor tmp file (diff) | |
download | ice-ba2ebcd7907c6af778b1f2cd6f226c5c970d49d4.tar.bz2 ice-ba2ebcd7907c6af778b1f2cd6f226c5c970d49d4.tar.xz ice-ba2ebcd7907c6af778b1f2cd6f226c5c970d49d4.zip |
PHP bug fix for ice_router/ice_locator
Diffstat (limited to 'php/src/IcePHP/Proxy.cpp')
-rw-r--r-- | php/src/IcePHP/Proxy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/php/src/IcePHP/Proxy.cpp b/php/src/IcePHP/Proxy.cpp index 81c297b2ab0..ef4b726eb3a 100644 --- a/php/src/IcePHP/Proxy.cpp +++ b/php/src/IcePHP/Proxy.cpp @@ -1307,7 +1307,7 @@ ZEND_FUNCTION(Ice_ObjectPrx_ice_router) Ice::RouterPrx router; if(proxy) { - if(!def || !def->isA("Ice::Router")) + if(!def || !def->isA("::Ice::Router")) { php_error_docref(0 TSRMLS_CC, E_ERROR, "ice_router requires a proxy narrowed to Ice::Router"); RETURN_NULL(); @@ -1398,7 +1398,7 @@ ZEND_FUNCTION(Ice_ObjectPrx_ice_locator) Ice::LocatorPrx locator; if(proxy) { - if(!def || !def->isA("Ice::Locator")) + if(!def || !def->isA("::Ice::Locator")) { php_error_docref(0 TSRMLS_CC, E_ERROR, "ice_locator requires a proxy narrowed to Ice::Locator"); RETURN_NULL(); |