aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-09-22 21:58:04 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-09-22 21:58:04 +0000
commit6ea4a146afd3a70b414d455a0088b058e0a9ec91 (patch)
tree96770e303d2e044e2583bcfb009948eedd031d51 /phpBB/includes/db
parent7f65bc98adcde87ebd12dfcc3c8963c3a5ce315b (diff)
downloadforums-6ea4a146afd3a70b414d455a0088b058e0a9ec91.tar
forums-6ea4a146afd3a70b414d455a0088b058e0a9ec91.tar.gz
forums-6ea4a146afd3a70b414d455a0088b058e0a9ec91.tar.bz2
forums-6ea4a146afd3a70b414d455a0088b058e0a9ec91.tar.xz
forums-6ea4a146afd3a70b414d455a0088b058e0a9ec91.zip
misc SQLite bugs
git-svn-id: file:///svn/phpbb/trunk@8101 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/db')
-rw-r--r--phpBB/includes/db/db_tools.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/db_tools.php b/phpBB/includes/db/db_tools.php
index 1efd09c626..b8f3f2246b 100644
--- a/phpBB/includes/db/db_tools.php
+++ b/phpBB/includes/db/db_tools.php
@@ -962,7 +962,7 @@ class phpbb_db_tools
foreach ($old_table_cols as $declaration)
{
$entities = preg_split('#\s+#', trim($declaration));
- if ($entities[0] == 'PRIMARY' || $entities[0] === '$column_name')
+ if ($entities[0] == 'PRIMARY' || $entities[0] === $column_name)
{
continue;
}