#870: when a user deletes all her/his shortcuts at once, this was deleting all the shortcuts for all users.

SVN:trunk[3099]
This commit is contained in:
Denis Flaven
2014-03-12 14:05:37 +00:00
parent 3b257eeb3a
commit 8dc5b05ac4

View File

@@ -1042,6 +1042,7 @@ EOF
case 'shortcut_delete_go':
$oSearch = new DBObjectSearch('Shortcut');
$oSearch->AddCondition('user_id', UserRights::GetUserId(), '=');
$aShortcuts = utils::ReadMultipleSelection($oSearch);
foreach ($aShortcuts as $iShortcut)
{