cvs: ZendEngine2 / zend_execute_API.c
| From: | Marcus Boerger | Date: | Fri, 28 Jan 2005 20:24:21 +0000 |
| Subject: | cvs: ZendEngine2 / zend_execute_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3344@lists.php.net to get a copy of this message | ||
helly Fri Jan 28 15:24:21 2005 EDT
Modified files:
/ZendEngine2 zend_execute_API.c
Log:
- Fix severity (found by johannes)
http://cvs.php.net/diff.php/ZendEngine2/zend_execute_API.c?r1=1.307&r2=1.308&ty=u
Index: ZendEngine2/zend_execute_API.c
diff -u ZendEngine2/zend_execute_API.c:1.307 ZendEngine2/zend_execute_API.c:1.308
--- ZendEngine2/zend_execute_API.c:1.307 Wed Nov 17 07:06:27 2004
+++ ZendEngine2/zend_execute_API.c Fri Jan 28 15:24:20 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_execute_API.c,v 1.307 2004/11/17 12:06:27 stas Exp $ */
+/* $Id: zend_execute_API.c,v 1.308 2005/01/28 20:24:20 helly Exp $ */
#include <stdio.h>
#include <signal.h>
@@ -810,7 +810,7 @@
} else {
severity = E_ERROR;
}
- zend_error(E_STRICT, "Non-static method %s::%s() cannot be called statically",
calling_scope->name, EX(function_state).function->common.function_name);
+ zend_error(severity, "Non-static method %s::%s() cannot be called statically",
calling_scope->name, EX(function_state).function->common.function_name);
}
}