Some more unneeded brackets removed
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index f0b8e77..553f70c 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -291,7 +291,7 @@
}
// Verify table prefix and replace if necessary
- if ( ($this->dbprefix != '' && $this->swap_pre != '') && ($this->dbprefix != $this->swap_pre) )
+ if ($this->dbprefix != '' && $this->swap_pre != '' && $this->dbprefix != $this->swap_pre)
{
$sql = preg_replace('/(\W)'.$this->swap_pre.'(\S+?)/', '\\1'.$this->dbprefix.'\\2', $sql);
}