X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffunctions.php;h=a75df208132ec11520e27bf1e709a328657d7f65;hp=640ff9df0f317ec2310b2cfdb3b429cf48b0cd89;hb=81f648125535d3fbb1ac770ce99202a0da2faa1b;hpb=7b8e99bea1bd896d7d984bb5a04fdbf974890a7c diff --git a/inc/functions.php b/inc/functions.php index 640ff9df0f..a75df20813 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -290,6 +290,7 @@ function LOAD_TEMPLATE($template, $return=false, $content="") { while (strpos($tmpl_file, "\'") !== false) { $tmpl_file = str_replace("\'", '{QUOT}', $tmpl_file); } // Do we have to compile the code? + $ret = ""; if ((strpos($tmpl_file, "\$") !== false) || (strpos($tmpl_file, '{--') !== false) || (strpos($tmpl_file, '--}') > 0)) { // Okay, compile it! $tmpl_file = "\$ret=\"".COMPILE_CODE(addslashes($tmpl_file))."\";";