diff --git a/Rocksolid_Light/common/version.txt b/Rocksolid_Light/common/version.txt index 56f3151..8225a4b 100644 --- a/Rocksolid_Light/common/version.txt +++ b/Rocksolid_Light/common/version.txt @@ -1 +1 @@ -0.9.10 +0.9.11 diff --git a/Rocksolid_Light/rocksolid/newsportal.php b/Rocksolid_Light/rocksolid/newsportal.php index ead0e17..0129f84 100644 --- a/Rocksolid_Light/rocksolid/newsportal.php +++ b/Rocksolid_Light/rocksolid/newsportal.php @@ -2746,8 +2746,9 @@ function delete_message($messageid, $group = null, $overview_dbh = null) /* Find section */ $menulist = file($config_dir . "menu.conf", FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); foreach ($grouplist as $group) { - if(!$config_name = get_section_by_group($groupname, true)) { - file_put_contents($logfile, "\n" . format_log_date() . " " . $config_name . " Group not found: " . $group, FILE_APPEND); + $config_name = get_section_by_group($group, true); + if(!$config_name) { + file_put_contents($logfile, "\n" . format_log_date() . " Group not found: " . $group, FILE_APPEND); continue; } if ($CONFIG['article_database'] == '1') {