From: Roan Kattouw Date: Sun, 20 Jan 2008 12:17:43 +0000 (+0000) Subject: FileRepo: LocalFile::getUser() should load data X-Git-Tag: 1.31.0-rc.0~49889 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=b444ed71d330ffbb7136b6f955a668ab16629909;p=lhc%2Fweb%2Fwiklou.git FileRepo: LocalFile::getUser() should load data --- diff --git a/includes/filerepo/LocalFile.php b/includes/filerepo/LocalFile.php index 1a098ca2d3..35012285fe 100644 --- a/includes/filerepo/LocalFile.php +++ b/includes/filerepo/LocalFile.php @@ -389,6 +389,7 @@ class LocalFile extends File * @param $type string 'text' or 'id' */ function getUser($type='text') { + $this->load(); if( $type == 'text' ) { return $this->user_text; } elseif( $type == 'id' ) {