]> granicus.if.org Git - php/commitdiff
- And more...
authorAndi Gutmans <andi@php.net>
Sun, 29 Jul 2001 08:20:30 +0000 (08:20 +0000)
committerAndi Gutmans <andi@php.net>
Sun, 29 Jul 2001 08:20:30 +0000 (08:20 +0000)
ext/standard/basic_functions.c

index 60c7b61ee731ecfcb9a0a2bd564c156d7ba5a139..aa04d039f42e58f3318a07a026fe677478936378 100644 (file)
@@ -1845,7 +1845,7 @@ static void user_tick_function_call(user_tick_function_entry *tick_fe)
                                   Z_TYPE_PP(obj) == IS_OBJECT &&
                                   Z_TYPE_PP(method) == IS_STRING) {
                        php_error(E_WARNING, "Unable to call %s::%s() - function does not exist",
-                                         (*obj)->value.obj.ce->name, Z_STRVAL_PP(method));
+                                         Z_OBJCE_PP(obj)->name, Z_STRVAL_PP(method));
                } else
                        php_error(E_WARNING, "Unable to call tick function");
        }