diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2010-07-25 22:32:06 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2010-07-25 22:32:06 +0400 |
commit | 7f1662321b99995dd2be3812a1df4aa9d80dd807 (patch) | |
tree | 3ad292a25bdaca42c66bf949a1fe2047605d8545 /core/Site.php | |
parent | 44f32179f13c1ae0c42983f2b21f49b125bd38a8 (diff) |
git-svn-id: http://dev.piwik.org/svn/trunk@2680 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Site.php')
-rw-r--r-- | core/Site.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Site.php b/core/Site.php index 96a795498c..4edb0e7ba0 100644 --- a/core/Site.php +++ b/core/Site.php @@ -95,6 +95,10 @@ class Piwik_Site */ static public function getIdSitesFromIdSitesString( $string ) { + if(is_array($string)) + { + return $string; + } $ids = explode(',', $string); $validIds = array(); foreach($ids as $id) |