Browse Source

N°976 PHP Warning on not initialized variable $sHTMLValue in cmdbAbstractObject::GetFormElementForField().

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4887 a333f486-631f-4898-b8df-5754b55c2be0
glajarige 7 năm trước cách đây
mục cha
commit
fd01d8da2b
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      application/cmdbabstract.class.inc.php

+ 1 - 0
application/cmdbabstract.class.inc.php

@@ -1790,6 +1790,7 @@ EOF
 			$iInputId = $oPage->GetUniqueId();
 		}
 
+		$sHTMLValue = '';
 		if (!$oAttDef->IsExternalField())
 		{
 			$bMandatory = 'false';