From 84adcb658b28a79c33b8259fab448a1f4b2c7147 Mon Sep 17 00:00:00 2001 From: Steven Mondji-Lerider Date: Mon, 17 Mar 2014 15:13:28 +0000 Subject: [PATCH] Syntax errors --- src/fix_dovecot_quota.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fix_dovecot_quota.php b/src/fix_dovecot_quota.php index 39bf7b75..5e72c9fa 100755 --- a/src/fix_dovecot_quota.php +++ b/src/fix_dovecot_quota.php @@ -52,7 +52,7 @@ function FixQuotaDovecot($conditions){ $id=$db->f("id"); $size = exec ( "/usr/bin/du -sb $dir|cut -f1" ); // FIXME check return value if(!$db2->query("UPDATE mailbox set bytes=".intval($size)." where id=".intval($id).";")){ - echo "Fail updating quota for mailbox : $id\n"); + echo "Fail updating quota for mailbox : $id\n"; } } @@ -73,7 +73,7 @@ switch($opt){ usage("the login you entered is syntaxically incorrect"); exit(1); } - $cond = "membres.login = ".mysql_real_escape_string($login) ); + $cond = "membres.login = ".mysql_real_escape_string($login) ; break; case "d": if(checkfqdn($val) != 0){