]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/forced_functions.php
earning_name renamed to earning_provider
[mailer.git] / inc / libs / forced_functions.php
index cd2aba8ba11613ea587c8ac7e292ffc5f75b50c5..84dceb8851ee22b5f5e049f6657c6f9be3ed2d7c 100644 (file)
@@ -54,8 +54,12 @@ function doTemplateForcedAdTypeSelectionBox ($templateName, $clear = false, $def
 
 // Translate the status IN/OUT
 function translateForcedAdType ($status) {
-       // Is the status empty?
-       if (empty($status)) {
+       // Is the status null or empty?
+       if (is_null($status)) {
+               // Is NULL
+               $status = 'NULL';
+       } elseif (empty($status)) {
+               // Is empty (string)
                $status = 'EMPTY';
        } // END - if
 
@@ -77,7 +81,7 @@ function translateForcedAdType ($status) {
 
 // "Getter" for an array of data from all Forced-PopUps
 function getForcedPopupDataByEarningArray ($content) {
-       die(__FUNCTION__ . ':content=<pre>'.print_r($content,true).'</pre>');
+       debug_report_bug(__FUNCTION__, __LINE__, 'content=' . print_r($content, true));
 }
 
 // [EOF]