Explorar o código

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.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3193 a333f486-631f-4898-b8df-5754b55c2be0
romainq %!s(int64=11) %!d(string=hai) anos
pai
achega
8b8fcf2ec6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      portal/index.php

+ 1 - 1
portal/index.php

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