fix for date for qu menu
This commit is contained in:
parent
f66c3d9c0c
commit
c0b3798bad
|
@ -320,7 +320,7 @@ class Panel::Announcement::BackEnd::BulletinsController < OrbitBackendController
|
|||
protected
|
||||
|
||||
def delete_out_invalid_date_from_params()
|
||||
if(params[:bulletin]["deadline(1i)"].empty? or params[:bulletin]["deadline(2i)"].empty? or params[:bulletin]["deadline(3i)"].empty?)
|
||||
if(params[:bulletin]["deadline(1i)"].blank? or params[:bulletin]["deadline(2i)"].blank? or params[:bulletin]["deadline(3i)"].blank?)
|
||||
params[:bulletin].delete("deadline(1i)")
|
||||
params[:bulletin].delete("deadline(2i)")
|
||||
params[:bulletin].delete("deadline(3i)")
|
||||
|
|
Reference in New Issue