diff options
author | friendica <info@friendica.com> | 2014-12-15 14:37:31 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-12-15 14:37:31 -0800 |
commit | f28103d595c0e02dfd30d44b3115915994e9ecc0 (patch) | |
tree | b5076f4f5440738033d8d009799ff1d394250dbe /include/widgets.php | |
parent | 1780ba5e7d1571d82a6428c4907d6a264217c778 (diff) | |
download | volse-hubzilla-f28103d595c0e02dfd30d44b3115915994e9ecc0.tar.gz volse-hubzilla-f28103d595c0e02dfd30d44b3115915994e9ecc0.tar.bz2 volse-hubzilla-f28103d595c0e02dfd30d44b3115915994e9ecc0.zip |
wall tags
Diffstat (limited to 'include/widgets.php')
-rw-r--r-- | include/widgets.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php index b13be4922..cb199d2b8 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -236,9 +236,13 @@ function widget_savedsearch($arr) { $hasq = ((strpos($srchurl,'?') !== false) ? true : false); $srchurl = rtrim(preg_replace('/search\=[^\&].*?(\&|$)/is','',$srchurl),'&'); + $srchurl = rtrim(preg_replace('/submit\=[^\&].*?(\&|$)/is','',$srchurl),'&'); $srchurl = str_replace(array('?f=','&f='),array('',''),$srchurl); + + $hasq = ((strpos($srchurl,'?') !== false) ? true : false); + $o = ''; $r = q("select `tid`,`term` from `term` WHERE `uid` = %d and `type` = %d ", @@ -387,7 +391,7 @@ function widget_tagcloud_wall($arr) { $limit = ((array_key_exists('limit', $arr)) ? intval($arr['limit']) : 50); if(feature_enabled($a->profile['profile_uid'], 'tagadelic')) - return tagblock('search', $a->profile['profile_uid'], $limit, $a->profile['channel_hash'], ITEM_WALL); + return wtagblock($a->profile['profile_uid'], $limit, $a->profile['channel_hash'], ITEM_WALL); return ''; } |