Should read the statement as well...
authorJoey Schulze <joey@infodrom.org>
Sat, 21 Jan 2006 07:35:32 +0000 (07:35 +0000)
committerJoey Schulze <joey@infodrom.org>
Sat, 21 Jan 2006 07:35:32 +0000 (07:35 +0000)
src/InfoCon/account/edit.wml

index 7913df1..89220a3 100644 (file)
@@ -20,7 +20,7 @@
   if (!$blzkto && $oid) {
     pg_exec ($dbh, "SET DateStyle = 'ISO'") or die("Datenbank-Abfrage!");
 
-    $query = "SELECT blz_kto,datum,category,descr,from_to,$value FROM $table where oid = $oid";
+    $query = "SELECT blz_kto,datum,category,descr,from_to,statement,$value FROM $table where oid = $oid";
     $sth = pg_exec ($dbh, $query) or die("Datenbank-Abfrage!");
 
     if (pg_NumRows ($sth) > 0) {