diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2005-11-20 18:58:34 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-11-20 18:58:34 +0000 |
| commit | 0202eb8a66920b43d37582bbd205a25f68523150 (patch) | |
| tree | b3a4305900778053b729f15bcca1b244d2d510f8 /phpBB/includes/db | |
| parent | 9f1f945d5d78f049bf44e0c6afb7eefeb549f406 (diff) | |
| download | forums-0202eb8a66920b43d37582bbd205a25f68523150.tar forums-0202eb8a66920b43d37582bbd205a25f68523150.tar.gz forums-0202eb8a66920b43d37582bbd205a25f68523150.tar.bz2 forums-0202eb8a66920b43d37582bbd205a25f68523150.tar.xz forums-0202eb8a66920b43d37582bbd205a25f68523150.zip | |
- more acp additions and changes...
git-svn-id: file:///svn/phpbb/trunk@5310 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/db')
| -rw-r--r-- | phpBB/includes/db/dbal.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/db/dbal.php b/phpBB/includes/db/dbal.php index 4aaaa62790..5555bf09ea 100644 --- a/phpBB/includes/db/dbal.php +++ b/phpBB/includes/db/dbal.php @@ -149,7 +149,7 @@ class dbal { $values[] = 'NULL'; } - elseif (is_string($var)) + else if (is_string($var)) { $values[] = "'" . $this->sql_escape($var) . "'"; } @@ -172,7 +172,7 @@ class dbal { $values[] = "$key = NULL"; } - elseif (is_string($var)) + else if (is_string($var)) { $values[] = "$key = '" . $this->sql_escape($var) . "'"; } |
