X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-usage.php;h=09da0a61ee5b991fc1c2a9ca447fe2d6f92f20ea;hp=1e40c5de2feec4f48b81ac44ab970f904cf4b9cf;hb=7989ec603971c0dc8dc35d8be4e72f8098b83baa;hpb=c81e9ed85e01215e464d94446773bcd5e6699194 diff --git a/inc/modules/admin/what-usage.php b/inc/modules/admin/what-usage.php index 1e40c5de2f..09da0a61ee 100644 --- a/inc/modules/admin/what-usage.php +++ b/inc/modules/admin/what-usage.php @@ -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...