From 7f4b865c2bbdf481fa94639518026d70a8bf9492 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Wed, 18 Sep 2013 02:49:14 +0100 Subject: Didn't git add again after fixing typo... --- mod/filestorage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/filestorage.php') 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; } -- cgit v1.2.3