Преглед на файлове

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 години
родител
ревизия
8b8fcf2ec6
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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)