Skip to content

Commit 1fb9e27

Browse files
committed
Fixed compatibility issues with J4
1 parent 12e5f86 commit 1fb9e27

4 files changed

Lines changed: 8136 additions & 13 deletions

File tree

administrator/controllers/hashchecks.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function hashfilecheck(){
129129
$results = $db->loadAssocList();
130130
$sql = "UPDATE #__orgfile SET `status` = 1 WHERE `file` IN ('".$files."')";
131131
$db->setQuery($sql);
132-
$db->query();
132+
$db->execute();
133133
$orgFile = array();
134134
$error = array();
135135
$missing = array();
@@ -180,7 +180,7 @@ public function hashfilecheck(){
180180
}
181181
$sql = "UPDATE #__orgfile SET `status` = 1";
182182
$db->setQuery($sql);
183-
$db->query();
183+
$db->execute();
184184
}
185185
$t = '<b>'.Jtext::_('COM_HASHCHECK_CURRENT_FILE').'</b>'.str_replace($t_file,"",$t);
186186

0 commit comments

Comments
 (0)