aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/filestore.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/filestore.php')
-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 6dfa8073f..0c8e5f121 100644
--- a/engine/lib/filestore.php
+++ b/engine/lib/filestore.php
@@ -162,7 +162,7 @@
case "read" : $mode = "r+b"; break;
case "write" : $mode = "w+b"; break;
case "append" : $mode = "a+b"; break;
- default: throw new InvalidParameterException("Unrecognised file mode '$mode'");
+ default: throw new InvalidParameterException(sprintf(elgg_echo('InvalidParameterException:UnrecognisedFileMode'), $mode));
}
return fopen($fullname, $mode);