diff options
| author | Antony Dovgal <tony2001@php.net> | 2006-07-05 11:54:08 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2006-07-05 11:54:08 +0000 |
| commit | 058b529ae78b91d1f129bcac2ee74ed37bd441bd (patch) | |
| tree | 2bfb2f9744fd95d54f245955011e397df3372656 | |
| parent | 4c26ed263dc61c32b01a3a553389f371b37dff48 (diff) | |
| download | php-git-058b529ae78b91d1f129bcac2ee74ed37bd441bd.tar.gz | |
oops.. fix copy/paste typo
| -rw-r--r-- | Zend/zend_object_handlers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c index 35dd5ce9e8..f880d441ef 100644 --- a/Zend/zend_object_handlers.c +++ b/Zend/zend_object_handlers.c @@ -910,9 +910,9 @@ ZEND_API union _zend_function *zend_std_get_constructor(zval *object TSRMLS_DC) */ if (!zend_check_protected(zend_get_function_root_class(constructor), EG(scope))) { if (EG(scope)) { - zend_error(E_ERROR, "Call to private %s::%s() from context '%s'", constructor->common.scope->name, constructor->common.function_name, EG(scope)->name); + zend_error(E_ERROR, "Call to protected %s::%s() from context '%s'", constructor->common.scope->name, constructor->common.function_name, EG(scope)->name); } else { - zend_error(E_ERROR, "Call to private %s::%s() from invalid context", constructor->common.scope->name, constructor->common.function_name); + zend_error(E_ERROR, "Call to protected %s::%s() from invalid context", constructor->common.scope->name, constructor->common.function_name); } } } |
