Skip to content
Snippets Groups Projects
Commit 85efc9a1 authored by llaffont's avatar llaffont
Browse files

Correction affichage recherche avancee

parent 89de022f
Branches
Tags
No related merge requests found
......@@ -76,8 +76,10 @@
<tr>
<td class="droite">Afficher le lien recherche avancée&nbsp;</td>
<td class="gauche">
<?php $checked = $this->preferences["recherche_avancee"] == 'on' ? "checked='checked'" : ""; ?>
<input type="checkbox" name="recherche_avancee" <?php echo $checked?>>
<?php echo $this->formCheckbox('recherche_avancee',
$this->preferences["recherche_avancee"],
null,
array('on', 'off')); ?>
</td>
</tr>
......
......@@ -40,7 +40,7 @@ class ZendAfi_View_Helper_TagRechercheSimple extends Zend_View_Helper_HtmlElemen
public function renderRechercheAvancee() {
if (!in_array($this->preferences["recherche_avancee"], ['on', 1]))
if (!in_array($this->preferences["recherche_avancee"], ['on']))
return '';
return '<div class="recherche_avancee">'.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment