diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/filestore.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/filestore.php b/engine/lib/filestore.php index 9031a964f..2f65ccc2f 100644 --- a/engine/lib/filestore.php +++ b/engine/lib/filestore.php @@ -241,7 +241,7 @@ if (!$owner) $owner = get_loggedin_user(); - if ((!$owner) || (!$owner->username)) throw new InvalidParameterException(elgg_echo('InvalidParameterException:MissingOwner')); + if ((!$owner) || (!$owner->username)) throw new InvalidParameterException(sprintf(elgg_echo('InvalidParameterException:MissingOwner'), $file->getFilename(), $file->guid)); return $this->dir_root . $this->make_file_matrix($owner->username) . $file->getFilename(); } |