From: Moritz Bunkus Date: Fri, 18 Jan 2008 16:56:44 +0000 (+0000) Subject: Syntaxfehler in SQL-Query. X-Git-Tag: release-2.6.0beta1~327 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a10943b5865f6257d25f428c8a882c43229eb9ae;p=kivitendo-erp.git Syntaxfehler in SQL-Query. --- diff --git a/SL/AM.pm b/SL/AM.pm index 3ed8e5ddb..3f34e18c7 100644 --- 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|;