Changeset 22950


Ignore:
Timestamp:
May 29, 2013, 10:52:04 PM (7 years ago)
Author:
plg
Message:

merge r22949 from branch 2.5 to trunk

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
  • trunk/admin/user_perm.php

    r19703 r22950  
    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.