debug_report_bug() should be used as a replacement for app_die() calls
[mailer.git] / inc / libs / surfbar_functions.php
index 6716188e18beb2db07f90446beb5c3292fd587a1..2260039884b7d13acea6878d27bb9bfd2911fb5d 100644 (file)
@@ -1752,7 +1752,7 @@ function SURFBAR_GET_DATA ($element) {
                print('<pre>');
                print_r($GLOBALS['surfbar_cache']);
                print('</pre>');
-               debug_report_bug('Element ' . $element . ' not found.');
+               debug_report_bug(__FUNCTION__, __LINE__, 'Element ' . $element . ' not found.');
        }
 
        // Return result