aboutsummaryrefslogtreecommitdiffstats
path: root/mod/toggle_safesearch.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-11 15:32:25 -0800
committerfriendica <info@friendica.com>2013-12-11 15:32:25 -0800
commitc57b6745e8d7222d9cecfb04cd81c9ef7eb25d05 (patch)
treecc9eef5ea3c6676cd537f2f89776ab6d3c835db1 /mod/toggle_safesearch.php
parent2c02f57f276658269a6cc2031fb0fc9ac0a9077c (diff)
parent06c81e189f031a74c54aa14b1f29c93379e7cf3c (diff)
downloadvolse-hubzilla-c57b6745e8d7222d9cecfb04cd81c9ef7eb25d05.tar.gz
volse-hubzilla-c57b6745e8d7222d9cecfb04cd81c9ef7eb25d05.tar.bz2
volse-hubzilla-c57b6745e8d7222d9cecfb04cd81c9ef7eb25d05.zip
Merge https://github.com/friendica/red into zpull
Conflicts: view/theme/redbasic/css/style.css
Diffstat (limited to 'mod/toggle_safesearch.php')
-rw-r--r--mod/toggle_safesearch.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/toggle_safesearch.php b/mod/toggle_safesearch.php
index 5fb18f694..3c800c4f3 100644
--- a/mod/toggle_safesearch.php
+++ b/mod/toggle_safesearch.php
@@ -3,6 +3,8 @@
function toggle_safesearch_init(&$a) {
$observer = get_observer_hash();
+if (! $observer)
+ return;
if($observer)
$safe_mode = get_xconfig($observer,'directory','safe_mode');