mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-28 04:58:46 +02:00
Portal: Fixed a regression introduced in r4724. User profile page could not be opened anymore.
SVN:trunk[4731]
This commit is contained in:
@@ -515,7 +515,7 @@ class ObjectController extends AbstractController
|
||||
}
|
||||
|
||||
// Hiding submit button or changing its label if necessary
|
||||
if($aFormProperties['properties']['always_show_submit'] === false && !empty($aFormData['buttons']['transitions']))
|
||||
if(!empty($aFormData['buttons']['transitions']) && isset($aFormProperties['properties']) &&$aFormProperties['properties']['always_show_submit'] === false)
|
||||
{
|
||||
unset($aFormData['buttons']['submit']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user