From 37b921016ad1685c0938cff9d7069fb8e8b3f0cf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 22 Nov 2008 20:47:23 +0000 Subject: [PATCH] Debug line added if is not an array --- inc/databases.php | 2 +- inc/functions.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5