Просмотр исходного кода

#621 Profiler: SQL queries affected rows is always zero

Alex Trofimov 9 лет назад
Родитель
Сommit
85aa890cae
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      inc/classes/BxDolDb.php

+ 1 - 1
inc/classes/BxDolDb.php

@@ -484,7 +484,7 @@ class BxDolDb extends BxDolFactory implements iBxDolSingleton
         }
 
         if(isset($GLOBALS['bx_profiler']))
-        	$GLOBALS['bx_profiler']->endQuery($bResult);
+        	$GLOBALS['bx_profiler']->endQuery($oStatement);
 
 		//is needed for SILENT mode
 		if(!$bResult && !empty($this->_aError))