diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2016-03-29 09:24:08 +0200 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2016-03-29 09:24:08 +0200 |
commit | 70e305a918fcf193009831d4e89aa8c386df3dc4 (patch) | |
tree | 8cc49f253f29636ddd623aa2c2b98835300604f0 /framework/Data/TDbCommand.php | |
parent | 55df8dac44f54a305e8bd7e50ef63f76725d2333 (diff) |
Ported / fixed most old tests
Diffstat (limited to 'framework/Data/TDbCommand.php')
-rw-r--r-- | framework/Data/TDbCommand.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Data/TDbCommand.php b/framework/Data/TDbCommand.php index 333a8af2..b2dcbb88 100644 --- a/framework/Data/TDbCommand.php +++ b/framework/Data/TDbCommand.php @@ -201,8 +201,8 @@ class TDbCommand extends TComponent */ public function getDebugStatementText() { - if(Prado::getApplication()->getMode() === TApplicationMode::Debug) - return $this->_statement instanceof PDOStatement ? + //if(Prado::getApplication()->getMode() === TApplicationMode::Debug) + return $this->_statement instanceof PDOStatement ? $this->_statement->queryString : $this->getText(); } |