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 67ad3e79aafb6850137146c27f5610734e06a05a..fb5b9507e7d1287d3ed0477683ac49ccb15deb51 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 b6b212fb72ba2764fe1d9da321d660103f5b5bf2..e792e79ddfd553a93e4a3594ddac1be6416d918a 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;