Skip to content

Commit cfe2ac0

Browse files
committed
fix(wizard): wrong menu highlighted when browsing FAQ
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent 8d2cdf1 commit cfe2ac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/wizard.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ public static function showTicketSummary() {
275275
}
276276

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

0 commit comments

Comments
 (0)