diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2013-01-03 04:14:21 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2013-01-03 04:14:21 +0400 |
commit | 1241d0af3e9f55766f997e287116053daa6182f9 (patch) | |
tree | 09fb82fe21310eb3bd1a4195516f09392303181d /core/Archive.php | |
parent | 616561a6c1cd91927bf5421c588233baa72f94ef (diff) |
FIX
git-svn-id: http://dev.piwik.org/svn/trunk@7719 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Archive.php')
-rw-r--r-- | core/Archive.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Archive.php b/core/Archive.php index 6265c3498a..39eecd71b3 100644 --- a/core/Archive.php +++ b/core/Archive.php @@ -218,7 +218,8 @@ abstract class Piwik_Archive // idSite=1,3 or idSite=all if( $idSite === 'all' - || is_array($idSite) ) + || is_array($idSite) + || count($sites) > 1 ) { $archive = new Piwik_Archive_Array_IndexedBySite($sites, $period, $strDate, $segment, $_restrictSitesToLogin); } |