Changeset 150 for www/user.php
- Timestamp:
- Feb 16, 2009, 12:23:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
www/user.php
r148 r150 202 202 function CheckPermission($Module, $Operation, $ItemType = '', $ItemIndex = 0) 203 203 { 204 $DbResult = $this->Database->select('PermissionOperation', 'Id', '`Module`="'.$Module.'" AND `Item`="'.$ItemType.'" AND `ItemId`='.$ItemIndex.' AND `Operation`="'.$Operation.'"'); 204 return(true); 205 $DbResult = $this->Database->select('PermissionOperation', 'Id', '`Module`="'.$Module.'" AND `Item`="'.$ItemType.'" AND `ItemId`='.$ItemIndex.' AND `Operation`="'.$Operation.'"'); 205 206 if($DbResult->num_rows > 0) 206 207 {
Note:
See TracChangeset
for help on using the changeset viewer.