]> granicus.if.org Git - php/commitdiff
Additional fix for fix of bug #29883
authorDmitry Stogov <dmitry@php.net>
Thu, 13 Jan 2005 08:48:50 +0000 (08:48 +0000)
committerDmitry Stogov <dmitry@php.net>
Thu, 13 Jan 2005 08:48:50 +0000 (08:48 +0000)
Zend/zend_execute.c

index b5b1d12a8710aca5b0aa8590cec59d206514cd3d..e8bdb902a7a5dbe5a356291e9871206b77d7048e 100644 (file)
@@ -976,7 +976,7 @@ static void zend_fetch_dimension_address(znode *result, znode *op1, znode *op2,
                                          ZVAL_LONG(&tmp, lval);
                                                offset = &tmp;
                                        } else {
-                                               if (type != BP_VAR_IS && type != BP_VAR_UNSET) {
+                                               if (type != BP_VAR_IS) {
                                                        zend_error(E_NOTICE, "Trying to get string index from a string");
                                                }
                                                *retval = &EG(error_zval_ptr);;