Functions imported, some dev-scripts added
[mailer.git] / inc / modules / admin / what-usage.php
index 1e40c5de2feec4f48b81ac44ab970f904cf4b9cf..09da0a61ee5b991fc1c2a9ca447fe2d6f92f20ea 100644 (file)
@@ -82,7 +82,7 @@ if (!empty($_GET['image'])) {
 if ((!empty($FQFN)) && (FILE_READABLE($FQFN))) {
        // @TODO This code is double, see LOAD_TEMPLATE and LOAD_EMAIL_TEMPLATE in functions.php
        $tmpl_file = READ_FILE($FQFN);
-       $tmpl_file = addslashes($tmpl_file);
+       $tmpl_file = SQL_ESCAPE($tmpl_file);
        $tmpl_file = "\$content=\"".$tmpl_file."\";";
        eval($tmpl_file);
        // Until here...