FileRepo: LocalFile::getUser() should load data
This commit is contained in:
parent
583e6ff8a1
commit
b444ed71d3
1 changed files with 1 additions and 0 deletions
|
|
@ -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' ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue