Validation of points amount added to surfbar
[mailer.git] / inc / functions.php
index 640ff9df0f317ec2310b2cfdb3b429cf48b0cd89..a75df208132ec11520e27bf1e709a328657d7f65 100644 (file)
@@ -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))."\";";