fix a bug wrt xorg_errors
authorx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 28 Feb 2006 17:42:23 +0000 (17:42 +0000)
committerx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 28 Feb 2006 17:42:23 +0000 (17:42 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@253 839d8a87-29fc-0310-9880-83ba4fa771e5

htdocs/search.php
templates/paiement/index.tpl
templates/search.tpl

index ad9cc04..6127913 100644 (file)
@@ -78,7 +78,7 @@ if (Env::has('quick')) {
     $search->addOrder('score', 'score', false, 'pertinence', AUTH_PUBLIC, true);
     
     $nb_tot = $search->show();
-    
+
     if (!logged() && $nb_tot > $globals->search->public_max) {
        new ThrowError('Votre recherche a généré trop de résultats pour un affichage public.');
     } elseif ($nb_tot > $globals->search->private_max) {
index 3733fa0..42c3699 100644 (file)
@@ -23,7 +23,7 @@
 
 <h1>Télépaiements</h1>
 
-{if $smarty.request.op eq "submit" and !$xorg_error->errs|count}
+{if $smarty.request.op eq "submit" and !$xorg_errors|count}
 
 <table class="bicol">
   <tr>
index 54fc08b..57cc99f 100644 (file)
@@ -21,7 +21,7 @@
 {**************************************************************************}
 
 
-{if $formulaire==0 and !$xorg_error->errs|count}
+{if $formulaire==0 and !$xorg_errors|count}
   {if !$advanced}
   {include file='search.quick.form.tpl' show_js=1}
   {else}