From a27d7668d516d6c769220fb5c013540df3764e5d Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 30 Jan 2008 14:44:43 +0000 Subject: [PATCH] Replaced echo git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8673 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); } } -- 2.30.2