Changeset 26284


Ignore:
Timestamp:
06/06/10 00:13:47 (7 years ago)
Author:
flack
Message:

Make sure sudo is dropped before returning, otherwise privileges will be ignored for the rest of the request, fixes #1849

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ragnaroek/midcom/midcom.helper.datamanager2/widget/chooser.php

    r25953 r26284  
    16351635        // debug_print_r("Got results:",$results);
    16361636
     1637        $_MIDCOM->auth->drop_sudo();
     1638
    16371639        if (count($results) == 0)
    16381640        {
     
    16421644
    16431645        $object = $results[0];
    1644 
    1645         $_MIDCOM->auth->drop_sudo();
    16461646       
    16471647        // debug_pop();
Note: See TracChangeset for help on using the changeset viewer.