diff options
author | ctrlaltca@gmail.com <> | 2011-06-01 07:46:00 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-06-01 07:46:00 +0000 |
commit | e38ecc97ba8c29bf7859021616feee2f4962f404 (patch) | |
tree | a38d2f8aead434fdb5b03b00d2c34b0e7f4f934b /framework/Util | |
parent | 6e5fac00670d3d61fa4cd797b23d431ee2981d38 (diff) |
fix for #327
Diffstat (limited to 'framework/Util')
-rw-r--r-- | framework/Util/TLogRouter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Util/TLogRouter.php b/framework/Util/TLogRouter.php index e060a85e..725cda41 100644 --- a/framework/Util/TLogRouter.php +++ b/framework/Util/TLogRouter.php @@ -861,7 +861,7 @@ class TDbLogRoute extends TLogRoute $db=$this->getDbConnection();
$db->setActive(true);
- $sql='SELECT * FROM '.$this->_logTable.' WHERE 0';
+ $sql='SELECT * FROM '.$this->_logTable.' WHERE 0=1';
try
{
$db->createCommand($sql)->query()->close();
|