Syntaxfehler in SQL-Query.
authorMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 18 Jan 2008 16:56:44 +0000 (16:56 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 18 Jan 2008 16:56:44 +0000 (16:56 +0000)
SL/AM.pm

index 3ed8e5d..3f34e18 100644 (file)
--- a/SL/AM.pm
+++ b/SL/AM.pm
@@ -2518,7 +2518,7 @@ sub get_all_warehouses {
   my $dbh = $form->get_standard_dbh($myconfig);
 
   my $query = qq|SELECT w.id, w.description, w.invalid,
-                   (SELECT COUNT(b.description) FROM bin b WHERE b.warehouse_id = w.id) AS number_of_bins,
+                   (SELECT COUNT(b.description) FROM bin b WHERE b.warehouse_id = w.id) AS number_of_bins
                  FROM warehouse w
                  ORDER BY w.sortkey|;