Skip to content

Commit

Permalink
This $Id should've stayed in there..
Browse files Browse the repository at this point in the history
  • Loading branch information
halfdan committed Feb 6, 2013
1 parent cf760d9 commit 7a75ea3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugins/UsersManager/Controller.php
Expand Up @@ -29,9 +29,12 @@ function index()

$view = Piwik_View::factory('UsersManager');

$IdSitesAdmin = Piwik_SitesManager_API::getInstance()->getSitesIdWithAdminAccess();
$idSiteSelected = 1;


if(count($IdSitesAdmin) > 0)
{
$defaultWebsiteId = $IdSitesAdmin[0];
$idSiteSelected = Piwik_Common::getRequestVar('idSite', $defaultWebsiteId);
}

Expand Down

0 comments on commit 7a75ea3

Please sign in to comment.