]> granicus.if.org Git - php/commitdiff
- Show the dependancy name we could not find (req_mod is null here when it is not...
authorfoobar <sniper@php.net>
Mon, 8 Aug 2005 14:25:05 +0000 (14:25 +0000)
committerfoobar <sniper@php.net>
Mon, 8 Aug 2005 14:25:05 +0000 (14:25 +0000)
Zend/zend_API.c

index e30d49193cb0be523aa6becc1efc3c38523ec229..537cb9086ebc105b358b01bdcc22bc507be4c8f7 100644 (file)
@@ -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;
                                }