]> granicus.if.org Git - php/commitdiff
- WS/CS
authorMarcus Boerger <helly@php.net>
Sat, 27 May 2006 18:04:13 +0000 (18:04 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 27 May 2006 18:04:13 +0000 (18:04 +0000)
Zend/zend_execute.c

index 94317a0ab9d1ced874bc8e6a920918e06b204998..2c4a457a705a7ebcde47a96c0872955b8207faae 100644 (file)
@@ -617,7 +617,8 @@ static inline void zend_assign_to_variable(znode *result, znode *op1, znode *op2
        if (!variable_ptr_ptr) {
                temp_variable *T = &T(op1->u.var);
 
-               if (T->str_offset.str->type == IS_STRING) do {
+               if (Z_TYPE_P(T->str_offset.str) == IS_STRING)
+               do {
                        zval tmp;
                        zval *final_value = value;