summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 08b497c)
raw | patch | inline | side by side (parent: 08b497c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 30 Jan 2008 14:44:43 +0000 (14:44 +0000) | ||
committer | hickert <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 | patch | blob | history |
diff --git a/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc b/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc
index a247dec96420cf9c8b7cfa53f170ed8e8919665d..b368a54376d2d74480d98535f08b59489b7b9fe0 100644 (file)
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));
}
}
}
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));
}
}