debug_report_bug() should be used as a replacement for app_die() calls
[mailer.git] / inc / loader / load_cache-modules.php
index 4875790656a818ecccab8dba563d46125b53159b..be0d09f63090ae18b92944d31600789e1818f04f 100644 (file)
@@ -56,7 +56,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('modules')) && ($GLOBALS['cache_i
        // Do only process valid arrays
        if (!isset($modArray['module'])) {
                // We should fix this!
-               debug_report_bug('modArray=<pre>'.print_r($modArray, true).'</pre>');
+               debug_report_bug(__FILE__, __LINE__, 'modArray=<pre>'.print_r($modArray, true).'</pre>');
        } // END - if
 
        // Rewrite some parts