diff --git a/app/views/admin/member_counselors/_form.html.erb b/app/views/admin/member_counselors/_form.html.erb index 8bc6f8b..b965064 100644 --- a/app/views/admin/member_counselors/_form.html.erb +++ b/app/views/admin/member_counselors/_form.html.erb @@ -104,7 +104,7 @@
<% opts = [] - if !@counselor.new_record? && @counselor.hps_city_id.nil? && @counselor.hps_city_id.empty? + if !@counselor.new_record? && !@counselor.hps_city_id.nil? && !@counselor.hps_city_id.empty? opts = HpsCity.find(@counselor.hps_city_id).hps_counties.asc(:old_id).collect{|sc| [sc.name, sc.id]} end %>