]> granicus.if.org Git - php/commitdiff
Possible fix for bug #27165.
authorIlia Alshanetsky <iliaa@php.net>
Fri, 6 Feb 2004 03:14:06 +0000 (03:14 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Fri, 6 Feb 2004 03:14:06 +0000 (03:14 +0000)
ext/spl/spl_functions.c

index 820866ccd5f5b51651dccd555c1f0a6491ee10c9..b4fd7507cfa47d3424bdfd0d857165fb268f521c 100755 (executable)
@@ -135,7 +135,7 @@ int spl_add_classes(zend_class_entry ** ppce, zval *list, int sub, int allow, in
 {
        zend_class_entry *pce = *ppce;
 
-       if (!ppce) {
+       if (!pce) {
                return 0;
        }
        spl_add_class_name(list, pce, allow, ce_flags TSRMLS_CC);