Fixes + asserts
[mailer.git] / ajax.php
index 518c2c2512c0a40e2cc068f143f07ba92b5ba50b..f0a04892ee3b0276bda0b42147c4b7487f60c0d5 100644 (file)
--- a/ajax.php
+++ b/ajax.php
@@ -68,7 +68,7 @@ loadIncludeOnce('inc/header.php');
 // Process only POST requests and that at least 'level' is set
 if ((getHttpRequestMethod() == 'POST') && (isPostRequestElementSet('level'))) {
        // Okay, that is valid, now check that the requested level right is valid
-       if (isAjaxRequestLevelValid()) {
+       if (isValidAjaxRequestLevel()) {
                // Process the request
                processAjaxRequest();