소스 검색

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)