summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB.pm
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-03-18 13:21:27 +0100
committermkanat%kerio.com <>2005-03-18 13:21:27 +0100
commit0b990337deb4528ad6a956d3c3d37be80151d06e (patch)
treeda60960e3489ac5415fe14fe6a890bac25676678 /Bugzilla/DB.pm
parent675c4bb9d83bdf1916eb0bcb61a973c6f4b69a73 (diff)
downloadbugzilla-0b990337deb4528ad6a956d3c3d37be80151d06e.tar.gz
bugzilla-0b990337deb4528ad6a956d3c3d37be80151d06e.tar.xz
Bug 256513: Fix usage of grep (/$value/, @array);
Patch By Olav Vitters <bugzilla-mozilla@bkor.dhs.org> r=mkanat, a=justdave
Diffstat (limited to 'Bugzilla/DB.pm')
-rw-r--r--Bugzilla/DB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm
index d84ce873d..292925a6f 100644
--- a/Bugzilla/DB.pm
+++ b/Bugzilla/DB.pm
@@ -312,7 +312,7 @@ sub bz_setup_database {
my @desired_tables = $self->_bz_schema->get_table_list();
foreach my $table_name (@desired_tables) {
- next if grep /^$table_name$/, @current_tables;
+ next if grep($_ eq $table_name, @current_tables);
print "Creating table $table_name ...\n";
my @table_sql = $self->_bz_schema->get_table_ddl($table_name);