aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-06-12 09:48:51 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-06-12 09:48:51 +0000
commita9419d04ee348cc66bea69d45bde6d99d8998cd2 (patch)
tree1d1d291ff66d55455194008fef37bf5d06115bb4 /engine
parentd27adda39ec2b13f0a6bcdbb6d47f8c1d22effc4 (diff)
downloadelgg-a9419d04ee348cc66bea69d45bde6d99d8998cd2.tar.gz
elgg-a9419d04ee348cc66bea69d45bde6d99d8998cd2.tar.bz2
Refs #1041: Extra debug
git-svn-id: https://code.elgg.org/elgg/trunk@3328 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/filestore.php2
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();
}