]> granicus.if.org Git - php/commitdiff
Omitting is also possible here
authorMarcus Boerger <helly@php.net>
Fri, 5 Sep 2003 20:09:19 +0000 (20:09 +0000)
committerMarcus Boerger <helly@php.net>
Fri, 5 Sep 2003 20:09:19 +0000 (20:09 +0000)
ext/sqlite/sqlite.c

index a9ceda7acfc45fc7ffcf7dcbdf756b7e7e51afb8..beddf346db3fcafd9719962037c3635f13f2ed27 100644 (file)
@@ -1773,7 +1773,7 @@ PHP_FUNCTION(sqlite_fetch_object)
                        efree(fci.params);
                }
        } else if (ctor_params && Z_TYPE_P(ctor_params) != IS_NULL) {
-               zend_throw_exception_ex(sqlite_ce_exception, 0 TSRMLS_CC, "Class %s does not have a constructor use NULL for parameter ctor_params", class_name);
+               zend_throw_exception_ex(sqlite_ce_exception, 0 TSRMLS_CC, "Class %s does not have a constructor, use NULL for parameter ctor_params or omit it", class_name);
        }
 }
 /* }}} */