Procházet zdrojové kódy

Pass the current objet to GetAsHTML

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1703 a333f486-631f-4898-b8df-5754b55c2be0
dflaven před 13 roky
rodič
revize
047b1ae026
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      core/dbobject.class.php

+ 1 - 1
core/dbobject.class.php

@@ -487,7 +487,7 @@ abstract class DBObject
 		}
 
 		// That's a standard attribute (might be an ext field or a direct field, etc.)
-		return $oAtt->GetAsHTML($this->Get($sAttCode));
+		return $oAtt->GetAsHTML($this->Get($sAttCode), $this);
 	}
 
 	public function GetEditValue($sAttCode)