mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
edit-mailbox.php:
- drop superfluous "modified" field (it's default anyway) git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@998 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
1 parent
c75022ad50
commit
4a29c75938
1 file changed
+1
-1
+1
-1
@@ -154,7 +154,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
if(preg_match('/^(.*)@/', $fUsername, $matches)) {
|
||||
$formvars['local_part'] = $matches[1];
|
||||
}
|
||||
$result = db_update_q('mailbox', "username='$fUsername' AND domain='$fDomain'", $formvars, array('modified')); # TODO: check if we need the AND domain=... clause, if not, switch to db_update()
|
||||
$result = db_update_q('mailbox', "username='$fUsername' AND domain='$fDomain'", $formvars); # TODO: check if we need the AND domain=... clause, if not, switch to db_update()
|
||||
$maildir = $user_details['maildir'];
|
||||
if ($result != 1 || !mailbox_postedit($fUsername,$fDomain,$maildir, $quota)) {
|
||||
$tMessage = $PALANG['pEdit_mailbox_result_error'];
|
||||
|
||||
Reference in new issue
Block a user