Fixed the issue of deleting all hashtags
This commit is contained in:
parent
7e3caa8cd0
commit
a51eecbc31
|
|
@ -462,6 +462,7 @@ class Admin::AnnouncementsController < OrbitAdminController
|
|||
bulletin.approved = true if set_approved
|
||||
bps = bulletin_params
|
||||
bps[:tags] = bps[:tags].blank? ? [] : bps[:tags]
|
||||
bps[:hashtags] = bps[:hashtags].blank? ? [] : bps[:hashtags]
|
||||
bps[:email_member_ids] = bps[:email_member_ids].blank? ? [] : bps[:email_member_ids]
|
||||
|
||||
if !bps['bulletin_links_attributes'].nil?
|
||||
|
|
|
|||
Loading…
Reference in New Issue