mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-20 09:08:42 +02:00
🥅 N°1192 Portal: Increase navigation rules checks robustness
This commit is contained in:
@@ -569,7 +569,7 @@ class NavigationRuleHelper
|
||||
);
|
||||
|
||||
// Get form's navigation rules
|
||||
$aFormNavRules = (isset($aFormProperties['properties'])) ? $aFormProperties['properties']['navigation_rules'] : array('submit' => null, 'cancel' => null);
|
||||
$aFormNavRules = (isset($aFormProperties['properties']['navigation_rules'])) ? $aFormProperties['properties']['navigation_rules'] : array('submit' => null, 'cancel' => null);
|
||||
|
||||
// Check from which origin the rule will be called
|
||||
$sRuleCallOrigin = ($bIsCurrentFormInModal) ? 'modal' : 'default';
|
||||
|
||||
Reference in New Issue
Block a user