Explorar o código

Strange corner case, not sure if the fix is the good one, seems harmless for now...

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@523 a333f486-631f-4898-b8df-5754b55c2be0
dflaven %!s(int64=15) %!d(string=hai) anos
pai
achega
d2eac2ed1f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      core/dbobject.class.php

+ 1 - 0
core/dbobject.class.php

@@ -420,6 +420,7 @@ abstract class DBObject
 			}
 			else
 			{
+				$aAvailableFields = array();
 				// retrieve the "external fields" linked to this external key
 				foreach (MetaModel::GetExternalFields(get_class($this), $sAttCode) as $oExtField)
 				{