]> granicus.if.org Git - php/commitdiff
- Fix severity (found by johannes)
authorMarcus Boerger <helly@php.net>
Fri, 28 Jan 2005 20:24:20 +0000 (20:24 +0000)
committerMarcus Boerger <helly@php.net>
Fri, 28 Jan 2005 20:24:20 +0000 (20:24 +0000)
Zend/zend_execute_API.c

index 87bad2b53cb388a24504210dd67515da6d8476bf..7f29c6548783c4a6088a004e9b6f88f6e8bb3033 100644 (file)
@@ -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);
                }
        }