Skip to content

Commit

Permalink
fix(common): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Apr 1, 2022
1 parent 14c890b commit 2c5e647
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions inc/common.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -677,17 +677,17 @@ public static function getInterface() {

public static function header() {
switch (self::getInterface()) {
case "servicecatalog";
case "self-service";
case "servicecatalog":
case "self-service":
return Html::helpHeader(__('Form list', 'formcreator'), $_SERVER['PHP_SELF']);
case "central";
case "central":
return Html::header(
__('Form Creator', 'formcreator'),
$_SERVER['PHP_SELF'],
'helpdesk',
'PluginFormcreatorFormlist'
);
case "public";
case "public":
default:
Html::nullHeader(__('Form Creator', 'formcreator'), $_SERVER['PHP_SELF']);
Html::displayMessageAfterRedirect();
Expand Down

0 comments on commit 2c5e647

Please sign in to comment.