Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' into redis-config-as-hash

  • Loading branch information...
commit 39bf3ef123bea7c989a35e720fe51a19936f68d6 2 parents a8fd770 + fdba553
Antennapedia authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  vendor/plugins/piwik_analytics/lib/piwik_analytics.rb
2  vendor/plugins/piwik_analytics/lib/piwik_analytics.rb
View
@@ -75,7 +75,7 @@ class Config
def self.enabled?(format)
#raise PiwikAnalytics::PiwikAnalyticsConfigurationError if id_site.blank? || url.blank?
- environments.include?(Rails.env) && formats.include?(format.to_sym)
+ environments.include?(Rails.env) && format.respond_to?(:to_sym) && formats.include?(format.to_sym)
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.