Changeset 9536


Ignore:
Timestamp:
Mar 4, 2011, 11:01:21 PM (10 years ago)
Author:
plg
Message:

bug fixed: check for existing permission should include category_id

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/community/admin_permissions.php

    r9511 r9536  
    9494    AND user_id '.(isset($insert['user_id']) ? '= '.$insert['user_id'] : 'is null').'
    9595    AND group_id '.(isset($insert['group_id']) ? '= '.$insert['group_id'] : 'is null').'
     96    AND category_id '.(isset($insert['category_id']) ? '= '.$insert['category_id'] : 'is null').'
    9697;';
    9798  $result = pwg_query($query);
Note: See TracChangeset for help on using the changeset viewer.