]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-logs.php
Even more double->single converted
[mailer.git] / inc / modules / admin / what-logs.php
index 60819c197824c0b5867289ae79e5c4ac38fc4fb6..1d3782e6232277e4471cee1b676f5fd32f622088 100644 (file)
@@ -45,8 +45,8 @@ addYouAreHereLink('admin', __FILE__);
 
 if (isGetRequestElementSet('access')) {
        // Secure input and construct FQFN
-       $access = SQL_ESCAPE(getRequestElement('access'));
-       $target = sprintf("%slogs/%s", getPath(), $access);
+       $access = sqlEscapeString(getRequestElement('access'));
+       $target = sprintf('%slogs/%s', getPath(), $access);
 
        // Is the file valid and readable?
        if (isFileReadable($target)) {