Add curly braces

This commit is contained in:
Romain Neutron
2012-04-26 01:55:12 +02:00
parent ade22295ad
commit 33b10d6746
86 changed files with 2969 additions and 2698 deletions

View File

@@ -65,10 +65,11 @@ class connection_pdo extends connection_abstract implements connection_interface
*/
public function prepare($statement, $driver_options = array())
{
if ($this->registry->get('GV_debug'))
if ($this->registry->get('GV_debug')) {
return new connection_pdoStatementDebugger(parent::prepare($statement, $driver_options));
else
} else {
return parent::prepare($statement, $driver_options);
}
}
/**