From: Roland Häder Date: Sat, 22 Nov 2008 20:47:23 +0000 (+0000) Subject: Debug line added if is not an array X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=37b921016ad1685c0938cff9d7069fb8e8b3f0cf;p=mailer.git Debug line added if is not an array --- diff --git a/inc/databases.php b/inc/databases.php index 8ed9085ae0..a0cf9b0059 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -114,7 +114,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // This current patch level -define('CURR_SVN_REVISION', "544"); +define('CURR_SVN_REVISION', "545"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/functions.php b/inc/functions.php index bf8b9b907b..cfbd665384 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1755,6 +1755,7 @@ function POST_URL ($script, $postData) { // Is postData an array? if (!is_array($postData)) { // Abort here + DEBUG_LOG(__FILE__, __LINE__, sprintf("postData is not an array. Type: %s", gettype($postData))); return array("", "", ""); } // END - if