fix get enable_manually_sort nil error
This commit is contained in:
1 parent
b3dbabef5b
commit
553fb82adc
1 file changed
-1
@@ -178,7 +178,6 @@ module AnnouncementsHelper
|
||||
end
|
||||
|
||||
def sort_announcements(announcements)
|
||||
enable_manually_sort = enable_manually_sort
|
||||
if enable_manually_sort
|
||||
announcements = announcements.sort_by { |announcement|
|
||||
tmp1 = announcement["postdate"].blank?
|
||||
|
||||
Reference in new issue
Block a user