diff --git a/app/models/project_package.rb b/app/models/project_package.rb index c1cee357..bc40bfe9 100644 --- a/app/models/project_package.rb +++ b/app/models/project_package.rb @@ -85,7 +85,7 @@ class ProjectPackage < ActiveRecord::Base end def can_bidding?(user) - published? && !bidding_end? && !bidding_users.exists?(user_id: user.id) + published? && !bidding_end? && user.id != creator_id && !bidding_users.exists?(user_id: user.id) end def increment_visit_count!