Changeset 17857


Ignore:
Timestamp:
Sep 11, 2012, 1:48:01 PM (12 years ago)
Author:
flop25
Message:

merge r17561
bug:2719
no need to array diff : the system check after to not reinsert existing lines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/admin/cat_perm.php

    r13593 r17857  
    9191    // add permissions to groups
    9292    //
    93     $grant_groups = array_diff($_POST['groups'], $groups_granted);
     93    $grant_groups = $_POST['groups'];
    9494    if (count($grant_groups) > 0)
    9595    {
     
    184184    // add permissions to users
    185185    //
    186     $grant_users = array_diff($_POST['users'], $users_granted);
     186    $grant_users = $_POST['users'];
    187187    if (count($grant_users) > 0)
    188188    {
Note: See TracChangeset for help on using the changeset viewer.