aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-13 17:27:40 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-13 17:27:40 +0000
commitb08401cb65d9a6da61a5941bc2936d144e2b46d3 (patch)
tree3fc4bd35bdbc01cc72df4968d42ad1871910926e
parentbe7831805e640cff187efb92f94ea141dafb82b4 (diff)
downloadelgg-b08401cb65d9a6da61a5941bc2936d144e2b46d3.tar.gz
elgg-b08401cb65d9a6da61a5941bc2936d144e2b46d3.tar.bz2
Fixes #778. Thanks!
git-svn-id: https://code.elgg.org/elgg/trunk@2750 36083f99-b078-4883-b0ff-0f9b5a30f544
-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 350848d82..ee90e4b86 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 InvalidParameterException(elgg_echo('InvalidParameterException:MissingOwner'));
+ if ((!$owner) || (!$owner->username)) throw new InvalidParameterException(elgg_echo('InvalidParameterException:MissingOwner'));
return $this->dir_root . $this->make_file_matrix($owner->username) . $file->getFilename();
}