Skip to content

Commit

Permalink
fixes copy dashboard to user for more than 100 users
Browse files Browse the repository at this point in the history
cherry picking  #15424  to fix #15420 in 3.x-dev
  • Loading branch information
mattab authored Feb 10, 2020
1 parent e2c454c commit 1e91185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Dashboard/API.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function copyDashboardToUser($idDashboard, $copyToUser, $dashboardName =
Piwik::checkUserHasSomeAdminAccess();

// get users only returns users of sites the current user has at least admin access to
$users = Request::processRequest('UsersManager.getUsers');
$users = Request::processRequest('UsersManager.getUsers', ['filter_limit' => -1]);
$userFound = false;
foreach ($users as $user) {
if ($user['login'] === $copyToUser) {
Expand Down

0 comments on commit 1e91185

Please sign in to comment.