Skip to content

Commit cdf3ad8

Browse files
author
quentusrex
committed
Sloppy commit on my part. Sorry. My commit didn't fix the bug. So I'm undoing it.
1 parent 2af16b0 commit cdf3ad8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/mail/mail_user_filter_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function onSubmit() {
5454
global $app, $conf;
5555

5656
// Get the parent mail_user record
57-
$mailuser = $app->db->queryOneRecord("SELECT * FROM mail_user WHERE mailuser_id = '".intval($_REQUEST["mailuser_id"])."'");
57+
$mailuser = $app->db->queryOneRecord("SELECT * FROM mail_user WHERE mailuser_id = '".intval($_REQUEST["mailuser_id"])."' AND ".$app->tform->getAuthSQL('r'));
5858

5959
// Check if Domain belongs to user
6060
if($mailuser["mailuser_id"] != $_POST["mailuser_id"]) $app->tform->errorMessage .= $app->tform->wordbook["no_mailuser_perm"];

0 commit comments

Comments
 (0)