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>
  • Loading branch information
btry committed Mar 23, 2021
1 parent 8d2cdf1 commit cfe2ac0
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
Expand Up @@ -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;
Expand Down

0 comments on commit cfe2ac0

Please sign in to comment.