FileRepo: LocalFile::getUser() should load data

This commit is contained in:
Roan Kattouw 2008-01-20 12:17:43 +00:00
parent 583e6ff8a1
commit b444ed71d3

View file

@ -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' ) {