More calls of DEBUG_LOG() added
[mailer.git] / inc / libs / sponsor_functions.php
index beebdc41cd52bb3bc716316d0f6233b860698033..340958e686779c7bf07ebbc2067c2d945cd17077 100644 (file)
@@ -283,6 +283,7 @@ function SPONSOR_TRANSLATE_STATUS($status)
                break;
 
        default:
+               DEBUG_LOG(__FILE__, __LINE__, sprintf("Unknown status %s detected.", $status));
                $ret = UNKNOWN_STATUS_1.$status.UNKNOWN_STATUS_2;
                break;
        }
@@ -567,6 +568,7 @@ function SPONSOR_SAVE_DATA($POST, $content)
                break;
 
        default: // Unknown sponsor what value!
+               DEBUG_LOG(__FILE__, __LINE__, sprintf("Unknown sponsor module (what) %s detected.", $_GET['what']));
                $MSG = SPONSOR_UNKNOWN_WHAT_1.$_GET['what'].SPONSOR_UNKNOWN_WHAT_2;
                $templ = ""; $subj = "";
                break;