Ignore:
Timestamp:
03/08/11 16:33:19 (9 years ago)
Author:
patdenice
Message:

Level permission was not saved.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PWG_Stuffs/admin/config.inc.php

    r9383 r9575  
    2323    pwg_query('UPDATE '.STUFFS_TABLE.' SET groups = NULL;'); 
    2424  } 
     25  if ($conf['Stuffs']['level_perm'] and !isset($_POST['level_perm'])) 
     26  { 
     27    pwg_query('UPDATE '.STUFFS_TABLE.' SET level = 0;'); 
     28  } 
    2529 
    2630  $params = array('group_perm', 'user_perm', 'level_perm'); 
Note: See TracChangeset for help on using the changeset viewer.