mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 19:18:44 +02: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)
|
if ($oSet->Count() == 0)
|
||||||
{
|
{
|
||||||
RequestCreationForm($oP, $oUserOrg, $aParameters['service_id'], $aParameters['servicesubcategory_id']);
|
RequestCreationForm($oP, $oUserOrg, $aParameters['service_id'], $aParameters['servicesubcategory_id'], 0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
elseif ($oSet->Count() == 1)
|
elseif ($oSet->Count() == 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user