Skip to content

Commit

Permalink
refactor: use constant
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Jun 23, 2023
1 parent 52a9fc2 commit 42dd84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ function plugin_formcreator_hook(): void {
Session::getCurrentInterface() == 'helpdesk') {

// Add specific JavaScript
$PLUGIN_HOOKS['add_javascript']['formcreator'][] = 'js/scripts.js';
$PLUGIN_HOOKS[Hooks::ADD_JAVASCRIPT]['formcreator'][] = 'js/scripts.js';
}

if (isset($_SESSION['glpiactiveentities_string'])) {
Expand Down

0 comments on commit 42dd84e

Please sign in to comment.