From: foobar Date: Mon, 8 Aug 2005 14:25:05 +0000 (+0000) Subject: - Show the dependancy name we could not find (req_mod is null here when it is not... X-Git-Tag: BEFORE_UNICODE_MERGE~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f2986fe9d53903bfb1bb2b8988055545b5fdb83;p=php - Show the dependancy name we could not find (req_mod is null here when it is not found :) --- diff --git a/Zend/zend_API.c b/Zend/zend_API.c index e30d49193c..537cb9086e 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1265,7 +1265,7 @@ ZEND_API int zend_startup_module_ex(zend_module_entry *module TSRMLS_DC) !req_mod->module_started) { efree(lcname); /* TODO: Check version relationship */ - zend_error(E_CORE_WARNING, "Cannot load module '%s' because required module '%s' is not loaded", module->name, req_mod->name); + zend_error(E_CORE_WARNING, "Cannot load module '%s' because required module '%s' is not loaded", module->name, dep->name); module->module_started = 0; return FAILURE; }