Skip to content
This repository was archived by the owner on Mar 8, 2021. It is now read-only.

Commit 14d2a8f

Browse files
committed
fix mysql_info
1 parent 3ba038c commit 14d2a8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/plugins/managermanager/modx.ddtools.class.php

100755100644
+1-1
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ public static function updateDocument($id = 0, $update = array(), $where = ''){
437437
);
438438

439439
//Проверяем сколько строк нашлось при обновлении
440-
preg_match('/Rows matched: (\d+)/', mysql_info(), $updatedRows);
440+
preg_match('/Rows matched: (\d+)/', $modx->db->info(), $updatedRows);
441441

442442
//Если ничего не обновилось (не нашлось)
443443
if ($updatedRows[1] == 0){

0 commit comments

Comments
 (0)