diff options
author | Fabian Becker <halfdan@xnorfz.de> | 2013-03-16 03:06:14 +0400 |
---|---|---|
committer | Fabian Becker <halfdan@xnorfz.de> | 2013-03-16 03:06:14 +0400 |
commit | fa02083dcec8ccbed3ff64c3873d4221ffd4ef69 (patch) | |
tree | 82ca1c8d3a382399cdc5c0422feec2dfc2f8529b /libs | |
parent | b11e633eb7d3877aa8031dbb1e18af6c41d558c8 (diff) |
Fix failing tests.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/PiwikTracker/PiwikTracker.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/PiwikTracker/PiwikTracker.php b/libs/PiwikTracker/PiwikTracker.php index b8b45486dd..00f8fedda8 100644 --- a/libs/PiwikTracker/PiwikTracker.php +++ b/libs/PiwikTracker/PiwikTracker.php @@ -651,7 +651,7 @@ class PiwikTracker if(!empty($category)) { $url .= '&search_cat=' . urlencode($category); } - if(!empty($countResults)) { + if(!empty($countResults) || $countResults == 0) { $url .= '&search_count=' . (int)$countResults; } return $url; |