From: Udo Spallek Date: Wed, 31 Jan 2007 16:54:52 +0000 (+0000) Subject: Suche einschraenken auf .sql am Ende (\x) X-Git-Tag: release-2.4.2~197 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f12a5993c15e71bb751d38182dcf0df846c87a4f;p=kivitendo-erp.git Suche einschraenken auf .sql am Ende (\x) --- diff --git a/bin/mozilla/admin.pl b/bin/mozilla/admin.pl index 86d660188..5db53d0c3 100644 --- a/bin/mozilla/admin.pl +++ b/bin/mozilla/admin.pl @@ -1467,7 +1467,7 @@ sub create_dataset { } opendir SQLDIR, "sql/." or $form - error($!); - foreach $item (sort grep /-chart\.sql/, readdir SQLDIR) { + foreach $item (sort grep /-chart\.sql\z/, readdir SQLDIR) { next if ($item eq 'Default-chart.sql'); $item =~ s/-chart\.sql//; push @charts,