diff --git a/app/controllers/packages_controller.rb b/app/controllers/packages_controller.rb index d3afe5d..1f9923c 100644 --- a/app/controllers/packages_controller.rb +++ b/app/controllers/packages_controller.rb @@ -96,7 +96,7 @@ class PackagesController < ApplicationController end end - if all_errors + if all_errors.any? flash[:error] = all_errors end