From 1b954ddea9f7a41160a8797b8a6625d777260d09 Mon Sep 17 00:00:00 2001 From: cookie Date: Wed, 19 Apr 2006 17:28:44 +0000 Subject: [PATCH] add logging^ git-svn-id: svn://svn.cccv.de/engel-system@122 29ba0400-6e00-0410-a75a-ca02368028f8 --- www-ssl/admin/aktiv.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www-ssl/admin/aktiv.php b/www-ssl/admin/aktiv.php index ef63a3a9..35eab81e 100755 --- a/www-ssl/admin/aktiv.php +++ b/www-ssl/admin/aktiv.php @@ -76,8 +76,8 @@ for ($i=0; $i<$rowcount; $i++) echo "show set"; else { - $SQL2="UPDATE User SET Aktiv=1 WHERE UID=". mysql_result($Erg, $i, "UID"). " LIMIT 1"; - $Erg2 = mysql_query($SQL2, $con); + $SQL2="UPDATE `User` SET Aktiv=1 WHERE UID=". mysql_result($Erg, $i, "UID"). " LIMIT 1"; + $Erg2 = db_query($SQL2, "update Active State"); if ($Erg2 != 1) echo "Fehler beim speichern bei Engel ".UID2Nick(mysql_result($Erg, $i, "UID")); else