diff --git a/library/includes/functions.php b/library/includes/functions.php index 069215fe3..00635ad06 100644 --- a/library/includes/functions.php +++ b/library/includes/functions.php @@ -1781,11 +1781,6 @@ function decode_text_match($txt) return str_replace(''', "'", $txt); } -function pad_with_space($str) -{ - return $str ? " $str " : $str; -} - /** * Create magnet link * diff --git a/search.php b/search.php index 714c2af12..b0d11a256 100644 --- a/search.php +++ b/search.php @@ -366,7 +366,7 @@ if (!$items_found) { } // Forum - $forum_selected = ''; + $forum_selected = []; if ($var =& $_REQUEST[$forum_key]) { $forum_selected = get_id_ary($var); diff --git a/styles/templates/default/memberlist.tpl b/styles/templates/default/memberlist.tpl index 7af84503c..edfc7e498 100644 --- a/styles/templates/default/memberlist.tpl +++ b/styles/templates/default/memberlist.tpl @@ -3,7 +3,7 @@