From: Dmitry Stogov Date: Thu, 13 Jan 2005 08:48:50 +0000 (+0000) Subject: Additional fix for fix of bug #29883 X-Git-Tag: php-5.0.4RC1~352 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=976ed18082aa4b9fba0b845762f68ca2cc95889f;p=php Additional fix for fix of bug #29883 --- diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index b5b1d12a87..e8bdb902a7 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -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);;