From b444ed71d330ffbb7136b6f955a668ab16629909 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Sun, 20 Jan 2008 12:17:43 +0000 Subject: [PATCH] FileRepo: LocalFile::getUser() should load data --- includes/filerepo/LocalFile.php | 1 + 1 file changed, 1 insertion(+) 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' ) { -- 2.20.1