Fixes for missing parameters for debug_report_bug(), was introduced in some revisions ago
[mailer.git] / inc / functions.php
index cfde41fa538b8be08c2cf5e7ec03a64c3cb625a6..f303ce5c685ca3ce250ce42d5c270a661dd21dab 100644 (file)
@@ -3219,7 +3219,7 @@ function generateExtensionInactiveMessage ($ext_name) {
        // Is the extension empty?
        if (empty($ext_name)) {
                // This should not happen
        // Is the extension empty?
        if (empty($ext_name)) {
                // This should not happen
-               debug_report_bug(__FUNCTION__ . ': Parameter ext is empty. This should not happen.');
+               debug_report_bug(__FUNCTION__, __LINE__, 'Parameter ext is empty. This should not happen.');
        } // END - if
 
        // Default message
        } // END - if
 
        // Default message
@@ -3240,7 +3240,7 @@ function generateExtensionNotInstalledMessage ($ext_name) {
        // Is the extension empty?
        if (empty($ext_name)) {
                // This should not happen
        // Is the extension empty?
        if (empty($ext_name)) {
                // This should not happen
-               debug_report_bug(__FUNCTION__ . ': Parameter ext is empty. This should not happen.');
+               debug_report_bug(__FUNCTION__, __LINE__, 'Parameter ext is empty. This should not happen.');
        } // END - if
 
        // Default message
        } // END - if
 
        // Default message