aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/dir_fns.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dir_fns.php b/include/dir_fns.php
index 0d0507059..7af98bec3 100644
--- a/include/dir_fns.php
+++ b/include/dir_fns.php
@@ -25,7 +25,7 @@ function dir_safe_mode(&$a) {
if ($observer)
$safe_mode = get_xconfig($observer,'directory','safe_mode');
- if($safe_mode == 0)
+ if($safe_mode === '0')
$toggle = t('Enable Safe Search');
else
$toggle = t('Disable Safe Search');