From 72225c28a37221ec0b0cc8c36b974ac49468b777 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 5 Oct 2008 21:02:29 +0000 Subject: [PATCH] Fix for non-string settings --- inc/databases.php | 2 +- inc/functions.php | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index 67ad3e79aa..fb5b9507e7 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -113,7 +113,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // This current patch level -define('CURR_SVN_REVISION', "449"); +define('CURR_SVN_REVISION', "450"); // 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 b6b212fb72..e792e79ddf 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -914,11 +914,8 @@ function COMPILE_CODE($code, $simple = false, $constants = true, $full = true) { global $SEC_CHARS, $URL_CHARS; // Is the code a string? if (!is_string($code)) { - // Abort here with backtrace - DEBUG_LOG(__FUNCTION__.": code is not string!"); - print "
";
-		debug_print_backtrace();
-		die("
"); + // Silently return it + return $code; } // END - if $ARRAY = $SEC_CHARS; -- 2.39.5