Fix bug.
This commit is contained in:
1 parent
a4ef044f7f
commit
e91fe1814e
1 file changed
+3
@@ -201,6 +201,9 @@ module AnnouncementsHelper
|
||||
tags = page.tags
|
||||
tags = params[:tags] if params[:tags].present?
|
||||
categories = params['category']=='all' ? (page.categories || []) : (Array(params['category']) rescue (page.categories || []))
|
||||
if params['category'].present?
|
||||
tags = ["all"]
|
||||
end
|
||||
end
|
||||
if !params["source"].present?
|
||||
if @type == "show_widget"
|
||||
|
||||
Reference in new issue
Block a user