Skip to content

Commit db41f37

Browse files
committed
#1.12.3 Minor fix in core_modulemanager. This resolves damanic/ls1-module-updatecenter#1
1 parent 46b5a10 commit db41f37

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

classes/core_modulemanager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ protected static function groupSettingsItems($items)
124124

125125
foreach ($items as $id=>$item)
126126
{
127-
$section = array_key_exists('section', $item) ? $item['section'] : $misc_title;
127+
$section = is_array($item) && array_key_exists('section', $item) ? $item['section'] : $misc_title;
128128
if (!array_key_exists($section, $result_grouped))
129129
$result_grouped[$section] = array();
130130

updates/version.dat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,4 +459,5 @@
459459
#1.11.97 Update in the MySQLi driver support
460460
#1.12.0 Start community updates (github:damanic). Added events to update manager 'core:onAfterGetModuleVersions', 'core:onGetBlockedUpdateModules', 'core:onAfterRequestUpdateList'
461461
#1.12.1 Minor update to Core_UpdateManager: Added event core:onFetchSoftwareUpdateFiles. Updated PclZip to 2.8.2
462-
#1.12.2 Added the force parameter to update request events.
462+
#1.12.2 Added the force parameter to update request events.
463+
#1.12.3 Minor fix in core_modulemanager. This resolves damanic/ls1-module-updatecenter#1

0 commit comments

Comments
 (0)