- Patch #186496 by Neil: do not overwrite the variable.
parent
480c53b6db
commit
049c6ddd96
|
@ -45,13 +45,12 @@ function theme_filter_tips($tips, $long = FALSE, $extra = '') {
|
|||
$output .= '<strong>'. $name .'</strong>:<br />';
|
||||
}
|
||||
|
||||
$tips = '';
|
||||
foreach ($tiplist as $tip) {
|
||||
$tips .= '<li'. ($long ? ' id="filter-'. str_replace("/", "-", $tip['id']) .'">' : '>') . $tip['tip'] .'</li>';
|
||||
}
|
||||
|
||||
if ($tips) {
|
||||
$output .= "<ul class=\"tips\">$tips</ul>";
|
||||
if (count($tiplist) > 0) {
|
||||
$output .= '<ul class="tips">';
|
||||
foreach ($tiplist as $tip) {
|
||||
$output .= '<li'. ($long ? ' id="filter-'. str_replace("/", "-", $tip['id']) .'">' : '>') . $tip['tip'] .'</li>';
|
||||
}
|
||||
$output .= '</ul>';
|
||||
}
|
||||
|
||||
if ($multiple) {
|
||||
|
|
Loading…
Reference in New Issue