Explorar el Código

Small fix: using an unassigned variable.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1039 a333f486-631f-4898-b8df-5754b55c2be0
dflaven hace 14 años
padre
commit
d1a6db5d47
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      portal/index.php

+ 1 - 1
portal/index.php

@@ -118,7 +118,7 @@ function SelectService($oP, $oUserOrg)
 	{
 		$id = $oService->GetKey();
 		$sChecked = "";
-		if ($id == $aParameters['service_id'])
+		if (isset($aParameters['service_id']) && ($id == $aParameters['service_id']))
 		{
 			$sChecked = "checked";
 		}