mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
Portal + templates: Bug fix = when the user selects a template, then go back to select a service for which no template applies, he still gets the tempate fields in the final form.
SVN:trunk[3193]
This commit is contained in:
@@ -369,7 +369,7 @@ function SelectRequestTemplate($oP, $oUserOrg, $iSvcId = null, $iSubSvcId = null
|
||||
));
|
||||
if ($oSet->Count() == 0)
|
||||
{
|
||||
RequestCreationForm($oP, $oUserOrg, $aParameters['service_id'], $aParameters['servicesubcategory_id']);
|
||||
RequestCreationForm($oP, $oUserOrg, $aParameters['service_id'], $aParameters['servicesubcategory_id'], 0);
|
||||
return;
|
||||
}
|
||||
elseif ($oSet->Count() == 1)
|
||||
|
||||
Reference in New Issue
Block a user