aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/filestorage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/filestorage.php b/mod/filestorage.php
index 12b1db1d9..5e1e61f42 100644
--- a/mod/filestorage.php
+++ b/mod/filestorage.php
@@ -38,7 +38,7 @@ function filestorage_content(&$a) {
// TODO This will also need to check for files on disk and delete them from there as well as the DB.
if ((argc() > 3 && argv(3) === 'delete') ? true : false);{
- if(! $perms['view_storage']) {
+ if(! $perms['write_storage']) {
notice( t('Permission denied. VS.') . EOL);
return;
}