summaryrefslogtreecommitdiff
path: root/lib/prado/framework/Data/TDbCommand.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/prado/framework/Data/TDbCommand.php')
-rw-r--r--lib/prado/framework/Data/TDbCommand.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/prado/framework/Data/TDbCommand.php b/lib/prado/framework/Data/TDbCommand.php
index 93e9e74..b2dcbb8 100644
--- a/lib/prado/framework/Data/TDbCommand.php
+++ b/lib/prado/framework/Data/TDbCommand.php
@@ -4,7 +4,7 @@
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link https://github.com/pradosoft/prado
- * @copyright Copyright &copy; 2005-2015 The PRADO Group
+ * @copyright Copyright &copy; 2005-2016 The PRADO Group
* @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
* @package System.Data
*/
@@ -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();
}