Changeset 22949


Ignore:
Timestamp:
May 29, 2013, 10:51:03 PM (8 years ago)
Author:
plg
Message:

bug 2909 fixed: make sure the selection of private album is not empty before
adding permission to user. The good test had been removed in r11729

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/admin/user_perm.php

    r19703 r22949  
    6565  pwg_query($query);
    6666}
    67 else if (isset($_POST['trueify']))
     67elseif (isset($_POST['trueify'])
     68    and isset($_POST['cat_false'])
     69    and count($_POST['cat_false']) > 0)
    6870{
    6971  add_permission_on_category($_POST['cat_false'], $page['user']);
Note: See TracChangeset for help on using the changeset viewer.