Fix for non-string settings
authorRoland Häder <roland@mxchange.org>
Sun, 5 Oct 2008 21:02:29 +0000 (21:02 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 5 Oct 2008 21:02:29 +0000 (21:02 +0000)
inc/databases.php
inc/functions.php

index 67ad3e7..fb5b950 100644 (file)
@@ -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);
index b6b212f..e792e79 100644 (file)
@@ -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 "<pre>";
-               debug_print_backtrace();
-               die("</pre>");
+               // Silently return it
+               return $code;
        } // END - if
 
        $ARRAY = $SEC_CHARS;