修正几处Notice错误

This commit is contained in:
huangdijia
2015-12-22 11:59:02 +08:00
parent 0e6afef0be
commit 5b75506aa7
3 changed files with 5 additions and 5 deletions

View File

@@ -1148,7 +1148,7 @@ abstract class Driver
*/
protected function debug($start)
{
if ($this->config['debug']) {
if (!empty($this->config['debug'])) {
// 开启数据库调试模式
if ($start) {
Debug::remark('queryStartTime', 'time');