Explorar o 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 %!s(int64=14) %!d(string=hai) anos
pai
achega
d1a6db5d47
Modificáronse 1 ficheiros con 1 adicións e 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";
 		}