aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/directory.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/directory.php b/mod/directory.php
index dfc0efc88..629174560 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -34,6 +34,8 @@ function directory_content(&$a) {
else
$safe_mode = intval($safe_mode);
+ if(x($_REQUEST,'safe')
+ $safe_mode = intval($_REQUEST['safe']);
$o = '';
nav_set_selected('directory');