Преглед на файлове

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 преди 13 години
родител
ревизия
047b1ae026
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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)