Skip to content
Snippets Groups Projects
Commit cdf3ad8c authored by quentusrex's avatar quentusrex
Browse files

Sloppy commit on my part. Sorry. My commit didn't fix the bug. So I'm undoing it.

parent 2af16b0b
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ class page_action extends tform_actions { ...@@ -54,7 +54,7 @@ class page_action extends tform_actions {
global $app, $conf; global $app, $conf;
// Get the parent mail_user record // Get the parent mail_user record
$mailuser = $app->db->queryOneRecord("SELECT * FROM mail_user WHERE mailuser_id = '".intval($_REQUEST["mailuser_id"])."'"); $mailuser = $app->db->queryOneRecord("SELECT * FROM mail_user WHERE mailuser_id = '".intval($_REQUEST["mailuser_id"])."' AND ".$app->tform->getAuthSQL('r'));
// Check if Domain belongs to user // Check if Domain belongs to user
if($mailuser["mailuser_id"] != $_POST["mailuser_id"]) $app->tform->errorMessage .= $app->tform->wordbook["no_mailuser_perm"]; if($mailuser["mailuser_id"] != $_POST["mailuser_id"]) $app->tform->errorMessage .= $app->tform->wordbook["no_mailuser_perm"];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment