remove instances where a pointer is used in a foreach loop for value (#7108)

This commit is contained in:
frytimo
2024-08-22 15:41:10 -03:00
committed by GitHub
parent 0583c5b429
commit 2cbb4dbc31
73 changed files with 170 additions and 170 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
$sql .= "where module_order is null ";
$modules = $database->select($sql, null, 'all');
if (is_array($modules) && @sizeof($modules) != 0) {
foreach ($modules as $index => &$row) {
foreach ($modules as $index => $row) {
//get the module details
$mod = $module->info($row['module_name']);
//update the module order