Fix bug.
This commit is contained in:
parent
fcce55f163
commit
19ea23c177
|
@ -15,6 +15,7 @@ class AnnouncementsController < ApplicationController
|
|||
def index
|
||||
Bulletin.remove_expired_status
|
||||
sorted,total_pages = get_sorted_annc
|
||||
sorted = [] if sorted.nil?
|
||||
anns = sorted.collect do |a|
|
||||
if a["source-site"].blank?
|
||||
statuses = a.statuses_with_classname.collect do |status|
|
||||
|
|
Loading…
Reference in New Issue