Skip to content

Commit

Permalink
fix(wizard): wrong menu highlighted when browsing FAQ
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
btry committed Mar 23, 2021

Verified

This commit was signed with the committer’s verified signature.
ljharb Jordan Harband
1 parent 8ae7fe2 commit 9778b30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/wizard.class.php
Original file line number Diff line number Diff line change
@@ -275,7 +275,7 @@ public static function showTicketSummary() {
}

protected static function findActiveMenuItem() {
if (PluginFormcreatorEntityConfig::getUsedConfig('is_kb_separated', Session::getActiveEntity()) == '1') {
if (PluginFormcreatorEntityConfig::getUsedConfig('is_kb_separated', Session::getActiveEntity()) == PluginFormcreatorEntityConfig::CONFIG_KB_DISTINCT) {
if (strpos($_SERVER['REQUEST_URI'], "formcreator/front/knowbaseitem.php") !== false
|| strpos($_SERVER['REQUEST_URI'], "formcreator/front/knowbaseitem.form.php") !== false) {
return self::MENU_FAQ;

0 comments on commit 9778b30

Please sign in to comment.