mirror of
https://github.com/munki/munki.git
synced 2026-05-05 11:59:18 -05:00
Fix for dependency description incorrectly prepended to update descriptions
This commit is contained in:
@@ -964,7 +964,7 @@ class UpdateItem: GenericItem {
|
||||
start_text += "<span class=\"warning\">\(filtered_html(warning_text))</span><br/><br/>"
|
||||
}
|
||||
}
|
||||
if (my["dependent_items"] as? [String]) != nil {
|
||||
if !((my["dependent_items"] as? [String] ?? []).isEmpty) {
|
||||
start_text += dependency_description()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user