diff options
author | friendica <info@friendica.com> | 2013-11-09 12:14:06 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-11-09 12:14:06 -0800 |
commit | e06b0aa76759c406b4ef555680fac5a0087d4708 (patch) | |
tree | 55e5a8dc91756c54779e8b2142950abcc97a06b9 /mod/dirsearch.php | |
parent | b2bb308e24421558f02a6bed2201140486be337b (diff) | |
parent | 1f16dd3bb029476c67d1707077b98af91d374597 (diff) | |
download | volse-hubzilla-e06b0aa76759c406b4ef555680fac5a0087d4708.tar.gz volse-hubzilla-e06b0aa76759c406b4ef555680fac5a0087d4708.tar.bz2 volse-hubzilla-e06b0aa76759c406b4ef555680fac5a0087d4708.zip |
Merge https://github.com/friendica/red into zpull
Conflicts:
mod/directory.php
Diffstat (limited to 'mod/dirsearch.php')
-rw-r--r-- | mod/dirsearch.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mod/dirsearch.php b/mod/dirsearch.php index 527eb4c50..dcacef651 100644 --- a/mod/dirsearch.php +++ b/mod/dirsearch.php @@ -43,9 +43,10 @@ function dirsearch_content(&$a) { $kw = ((x($_REQUEST,'kw')) ? intval($_REQUEST['kw']) : 0 ); // by default use a safe search - $safe = ((x($_REQUEST,'safe')) ? intval($_REQUEST['safe']) : 1 ); - - + $safe = ((x($_REQUEST,'safe'))); // ? intval($_REQUEST['safe']) : 1 ); + if ($safe === false) + $safe = 1; + if(array_key_exists('sync',$_REQUEST)) { if($_REQUEST['sync']) $sync = datetime_convert('UTC','UTC',$_REQUEST['sync']); |