From: hickert Date: Wed, 30 Jan 2008 14:44:43 +0000 (+0000) Subject: Replaced echo X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a27d7668d516d6c769220fb5c013540df3764e5d;p=gosa.git Replaced echo git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8673 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc b/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc index a247dec96..b368a5437 100644 --- a/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc +++ b/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc @@ -502,7 +502,7 @@ class phoneAccount extends plugin foreach($query_a as $qry){ @DEBUG (DEBUG_MYSQL, __LINE__, __FUNCTION__, __FILE__,$qry, "Database query"); if(!mysql_query($qry,$old_connection)){ - echo mysql_error($old_connection); + trigger_error(mysql_error($old_connection)); } } } @@ -695,7 +695,7 @@ class phoneAccount extends plugin foreach($query as $qry){ @DEBUG (DEBUG_MYSQL, __LINE__, __FUNCTION__, __FILE__,$qry, "Database query"); if(!mysql_query($qry,$new_connection)){ - echo mysql_error($new_connection); + trigger_error(mysql_error($new_connection)); } }