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

This is to try to fix the bug where if a filter is created by an admin, then...

parent b62cfedf
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ class page_action extends tform_actions {
global $app, $conf;
// Get the parent mail_user record
$mailuser = $app->db->queryOneRecord("SELECT * FROM mail_user WHERE mailuser_id = '".intval($_REQUEST["mailuser_id"])."' AND ".$app->tform->getAuthSQL('r'));
$mailuser = $app->db->queryOneRecord("SELECT * FROM mail_user WHERE mailuser_id = '".intval($_REQUEST["mailuser_id"])."'");
// Check if Domain belongs to user
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