Now, all redirects to index.php points to modules.php?module=index
[mailer.git] / inc / modules / admin / admin-inc.php
index 3e51681a46d956c8513cd00e6dda51945a0e7193..8b136e04a7204f21d9c43b8242aaee45519840b7 100644 (file)
@@ -1283,7 +1283,7 @@ function adminUpdateTaskData ($id, $row, $data) {
        // Should be admin!
        if (!isAdmin()) {
                // Not an admin so redirect better
-               redirectToUrl('index.php');
+               redirectToUrl('modules.php?module=index');
        } // END - if
 
        // Is the id not set, then we need a backtrace here... :(