Skip to content

Commit

Permalink
Merge pull request from GHSA-p75c-5x3h-cxcg
Browse files Browse the repository at this point in the history
CVE-2022-39281 mitigations
  • Loading branch information
steveyken committed Oct 7, 2022
2 parents fd2e72d + b1511d8 commit c85a254
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/models/polymorphic/task.rb
Expand Up @@ -189,6 +189,7 @@ def self.find_all_grouped(user, view)
#----------------------------------------------------------------------------
def self.bucket_empty?(bucket, user, view = "pending")
return false if bucket.blank? || !ALLOWED_VIEWS.include?(view)
return false unless Setting.task_bucket.map(&:to_s).include?(bucket.to_s)

if view == "assigned"
assigned_by(user).send(bucket).pending.count
Expand Down
2 changes: 1 addition & 1 deletion lib/fat_free_crm/version.rb
Expand Up @@ -9,7 +9,7 @@ module FatFreeCRM
module VERSION # :nodoc:
MAJOR = 0
MINOR = 20
TINY = 0
TINY = 1
PRE = nil

STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
Expand Down

0 comments on commit c85a254

Please sign in to comment.