Browse Source

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 11 năm trước cách đây
mục cha
commit
8b8fcf2ec6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)