Skip to content

Commit f6e2afb

Browse files
ziaratbansamdark
andauthored
Update src/Query.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
1 parent 8f1872d commit f6e2afb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Query.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,9 @@ protected function fetchRows($all = true, $indexBy = null, $db = null)
217217
}
218218
$cursor = $this->buildCursor($db);
219219
$token = 'fetch cursor id = ' . $cursor->getId();
220-
if($db->enableLogging)
220+
if ($db->enableLogging) {
221221
Yii::info($token, __METHOD__);
222+
}
222223
try {
223224
if($db->enableProfiling)
224225
Yii::beginProfile($token, __METHOD__);

0 commit comments

Comments
 (0)