diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-06-22 19:35:07 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-06-22 19:35:07 +0200 |
commit | 50f4bea6101f64c513b3918ade58a712b00f3df7 (patch) | |
tree | 0792f130770a4fd192cef6ed2d8d7d0293548698 /phpBB/phpbb/db/driver/mssqlnative.php | |
parent | adba7d471583537fb20c18dca08c571909171aeb (diff) | |
download | forums-50f4bea6101f64c513b3918ade58a712b00f3df7.tar forums-50f4bea6101f64c513b3918ade58a712b00f3df7.tar.gz forums-50f4bea6101f64c513b3918ade58a712b00f3df7.tar.bz2 forums-50f4bea6101f64c513b3918ade58a712b00f3df7.tar.xz forums-50f4bea6101f64c513b3918ade58a712b00f3df7.zip |
[ticket/12387] Remove unnecessary checks
PHPBB3-12387
Diffstat (limited to 'phpBB/phpbb/db/driver/mssqlnative.php')
-rw-r--r-- | phpBB/phpbb/db/driver/mssqlnative.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/db/driver/mssqlnative.php b/phpBB/phpbb/db/driver/mssqlnative.php index fbf37cbff2..3bc9ecda75 100644 --- a/phpBB/phpbb/db/driver/mssqlnative.php +++ b/phpBB/phpbb/db/driver/mssqlnative.php @@ -156,7 +156,7 @@ class mssqlnative extends \phpbb\db\driver\mssql_base $this->open_queries[(int) $this->query_result] = $this->query_result; $this->query_result = $cache->sql_save($this, $query, $this->query_result, $cache_ttl); } - else if (strpos($query, 'SELECT') === 0 && $this->query_result) + else if (strpos($query, 'SELECT') === 0) { $this->open_queries[(int) $this->query_result] = $this->query_result; } |