]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/action-sponsor.php
Fixes for a lot bug tickets. (Sorry for lame comment)
[mailer.git] / inc / modules / guest / action-sponsor.php
index 1b7b18db342f387bab4c1d986e95d7a27eaf2e85..df18e405970a269791e87dbef04ebba93fe0515e 100644 (file)
@@ -50,8 +50,10 @@ $INC = sprintf("%sinc/modules/guest/what-%s.php", PATH, SQL_ESCAPE($GLOBALS['wha
 if (FILE_READABLE($INC)) {
        // Ok, we finally load the guest action module
        include($INC);
+} elseif ($IS_VALID) {
+       ADD_FATAL(sprintf(getMessage('GUEST_404_ACTION'), SQL_ESCAPE($GLOBALS['what'])));
 } else {
-       ADD_FATAL(GUEST_404_ACTION_1.$GLOBALS['what'].GUEST_404_ACTION_2);
+       ADD_FATAL(sprintf(getMessage('GUEST_LOCKED_ACTION'), SQL_ESCAPE($GLOBALS['what'])));
 }
 
 //