fooRequestElementBar() functions renamed, adding of request parameters added:
[mailer.git] / inc / modules / admin / what-logs.php
index b4e22c82340c6de86eea4b4dc00be395e281e6d1..93a38da324f25b7af74d4b7ab5415f4564e31d61 100644 (file)
@@ -44,9 +44,9 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 // Add description as navigation point
 addMenuDescription('admin', __FILE__);
 
-if (isGetRequestElementSet('access')) {
+if (isGetRequestParameterSet('access')) {
        // Secure input and construct FQFN
-       $access = SQL_ESCAPE(secureString(getRequestElement('access')));
+       $access = SQL_ESCAPE(secureString(getRequestParameter('access')));
        $target = sprintf("%slogs/%s", getConfig('PATH'), $access);
 
        // Is the file valid and readable?