Changeset 26279


Ignore:
Timestamp:
06/05/10 10:26:37 (7 years ago)
Author:
flack
Message:

insert owner privileges before sorting the array, refs #1848

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ragnaroek/midcom/midcom.core/midcom/core/privilege.php

    r26278 r26279  
    816816        }
    817817
    818         ksort($valid_privileges);
    819 
    820818        // Process owner privileges
    821819        if ($is_owner)
     
    823821            $valid_privileges[MIDCOM_PRIVILEGE_SCOPE_OWNER] = $_MIDCOM->auth->get_owner_default_privileges();
    824822        }
     823
     824        ksort($valid_privileges);
    825825
    826826        $collected_privileges = array();
Note: See TracChangeset for help on using the changeset viewer.