diff options
| author | Hannes Magnusson <bjori@php.net> | 2006-10-08 13:34:24 +0000 |
|---|---|---|
| committer | Hannes Magnusson <bjori@php.net> | 2006-10-08 13:34:24 +0000 |
| commit | 176b72284c06793e51180eca0a03af1c8691d841 (patch) | |
| tree | 917632aec222a34e274711b7bd19c4f6372187fd /ext/dom/document.c | |
| parent | 32d1b3ad5584b76b27024df186758b94c42c721a (diff) | |
| download | php-git-176b72284c06793e51180eca0a03af1c8691d841.tar.gz | |
Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
Diffstat (limited to 'ext/dom/document.c')
| -rw-r--r-- | ext/dom/document.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/dom/document.c b/ext/dom/document.c index 8bebb417e0..92890d0cc2 100644 --- a/ext/dom/document.c +++ b/ext/dom/document.c @@ -2302,7 +2302,7 @@ PHP_METHOD(domdocument, registerNodeClass) } if (basece == NULL || ! instanceof_function(basece, dom_node_class_entry TSRMLS_CC)) { - php_error_docref(NULL TSRMLS_CC, E_ERROR, "Class %s is not derived from DOMNode.", baseclass); + php_error_docref(NULL TSRMLS_CC, E_ERROR, "Class %s is not derived from DOMNode", baseclass); return; } @@ -2319,11 +2319,11 @@ PHP_METHOD(domdocument, registerNodeClass) DOM_GET_OBJ(docp, id, xmlDocPtr, intern); if (dom_set_doc_classmap(intern->document, basece, ce TSRMLS_CC) == FAILURE) { - php_error_docref(NULL TSRMLS_CC, E_ERROR, "Class %s could not be registered.", extendedclass); + php_error_docref(NULL TSRMLS_CC, E_ERROR, "Class %s could not be registered", extendedclass); } RETURN_TRUE; } else { - php_error_docref(NULL TSRMLS_CC, E_ERROR, "Class %s is not derived from %s.", extendedclass, baseclass); + php_error_docref(NULL TSRMLS_CC, E_ERROR, "Class %s is not derived from %s", extendedclass, baseclass); } RETURN_FALSE; |
