Changeset 584 for trunk/Modules/OpeningHours/OpeningHours.php
- Timestamp:
- Oct 31, 2013, 4:57:11 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/OpeningHours/OpeningHours.php
r548 r584 36 36 function EditSubject($Id) 37 37 { 38 if($this->System->User->CheckPermission(' SubjectOpenTime', 'Edit'))38 if($this->System->User->CheckPermission('OpeningHours', 'Edit')) 39 39 { 40 40 $Output = '<div class="Centred">'; … … 78 78 79 79 $Output = ''; 80 if($this->System->User->CheckPermission(' SubjectOpenTime', 'Edit'))80 if($this->System->User->CheckPermission('OpeningHours', 'Edit')) 81 81 { 82 82 $this->Database->delete('SubjectOpenTimeDay', 'Subject='.$Id);
Note:
See TracChangeset
for help on using the changeset viewer.