diff options
author | sgiehl <stefan@piwik.org> | 2016-03-22 23:45:47 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2016-03-22 23:45:47 +0300 |
commit | fb6a6bdadc05bbce85a0b197979cf657b83cf183 (patch) | |
tree | ea72000bbc4c2e8591a83c1347768c844d517c1d /plugins | |
parent | a4c0f65f0ca93ee3c1ac6633a8bead7965998bc3 (diff) |
goals fitting exact page title don't need to start with http
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Goals/API.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Goals/API.php b/plugins/Goals/API.php index 113bea5ec9..9b24a59c76 100644 --- a/plugins/Goals/API.php +++ b/plugins/Goals/API.php @@ -183,6 +183,7 @@ class API extends \Piwik\Plugin\API if ($patternType == 'exact' && substr($pattern, 0, 4) != 'http' && substr($matchAttribute, 0, 6) != 'event_' + && $matchAttribute != 'title' ) { throw new Exception(Piwik::translate('Goals_ExceptionInvalidMatchingString', array("http:// or https://", "http://www.yourwebsite.com/newsletter/subscribed.html"))); } |