aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggFileCache.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/classes/ElggFileCache.php')
-rw-r--r--engine/classes/ElggFileCache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/ElggFileCache.php b/engine/classes/ElggFileCache.php
index 2072af620..c27e9aa32 100644
--- a/engine/classes/ElggFileCache.php
+++ b/engine/classes/ElggFileCache.php
@@ -188,7 +188,7 @@ class ElggFileCache extends ElggCache {
$files = scandir($dir);
if (!$files) {
- throw new IOException(sprintf(elgg_echo('IOException:NotDirectory'), $dir));
+ throw new IOException(elgg_echo('IOException:NotDirectory', array($dir)));
}
// Perform cleanup