Skip to content

Commit

Permalink
changed the permissions
Browse files Browse the repository at this point in the history
the admin module was renamed to users quite a while ago
  • Loading branch information
caseysoftware committed Dec 30, 2016
1 parent 40779f2 commit d5f6130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@

// tabbed information boxes
$tabBox = new CTabBox( "?m=holiday", W2P_BASE_DIR . '/modules/holiday/', $tab );
if (canEdit('admin')) $tabBox->add("holiday_settings", "Company working time");
if (canEdit('system')) $tabBox->add("holiday_settings", "Company working time");
$tabBox->add("holiday", "User vacations/holidays");
$tabBox->show();

0 comments on commit d5f6130

Please sign in to comment.