Code

Replaced echo
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Jan 2008 14:44:43 +0000 (14:44 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Jan 2008 14:44:43 +0000 (14:44 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8673 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc

index a247dec96420cf9c8b7cfa53f170ed8e8919665d..b368a54376d2d74480d98535f08b59489b7b9fe0 100644 (file)
@@ -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));
         } 
       }