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:
Romain Quetiez
2014-06-04 13:37:58 +00:00
parent c4632cda1a
commit 74cda2831f

View File

@@ -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)