From: hickert Date: Mon, 22 Aug 2005 13:23:46 +0000 (+0000) Subject: Hide mysql error X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=578191d1773a392d3db05b9a7fbc7e9d7337c34b;p=gosa.git Hide mysql error git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1200 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/gofon/phoneaccount/class_phoneAccount.inc b/plugins/gofon/phoneaccount/class_phoneAccount.inc index 91e449135..46e74989d 100644 --- a/plugins/gofon/phoneaccount/class_phoneAccount.inc +++ b/plugins/gofon/phoneaccount/class_phoneAccount.inc @@ -87,7 +87,7 @@ class phoneAccount extends plugin } } - $attrs = mysql_fetch_row(mysql_query("SELECT * FROM ".$a_SETUP['VOICE_TABLE']." WHERE customer_id=".$this->phoneNumbers[$first].";")); + $attrs = @mysql_fetch_row(@mysql_query("SELECT * FROM ".$a_SETUP['VOICE_TABLE']." WHERE customer_id=".$this->phoneNumbers[$first].";")); if($attrs){ $this->goFonPINVoice = $attrs[4]; }else{