From 0236e31313e5a7dd217adae86f81d4449d760701 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Fri, 28 Jan 2005 20:24:20 +0000 Subject: [PATCH] - Fix severity (found by johannes) --- Zend/zend_execute_API.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 87bad2b53c..7f29c65487 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -810,7 +810,7 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache TS } 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); } } -- 2.40.0