noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 124/219: indentation


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 124/219: indentation
Date: Mon, 18 Dec 2017 13:22:49 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 413e86dbe88a500a920b905345820c08e802bc00
Author: Dany De Bontridder <address@hidden>
Date:   Wed Nov 1 17:41:51 2017 +0100

    indentation
---
 include/ajax/ajax_card.php | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/include/ajax/ajax_card.php b/include/ajax/ajax_card.php
index 1162dab..1ea6cbd 100644
--- a/include/ajax/ajax_card.php
+++ b/include/ajax/ajax_card.php
@@ -391,16 +391,16 @@ case 'fs':
     /* Build the SQL and show result */
     $sql=$fiche->build_sql($sql_array);
 
-       if ( strpos($sql," in ()") != 0)
-       {
-               $html=HtmlInput::anchor_close('search_card');
-                $html.='<div> '.h2info(_('Recherche de fiche')).'</div>';
-                $html.='<h3 class="notice">';
-                $html.=_("Aucune catégorie de fiche ne correspond à".
-                " votre demande, le journal pourrait n'avoir accès à aucune 
fiche");
-                $html.='</h3>';
-                break;
-       }
+    if ( strpos($sql," in ()") != 0)
+    {
+            $html=HtmlInput::anchor_close('search_card');
+             $html.='<div> '.h2info(_('Recherche de fiche')).'</div>';
+             $html.='<h3 class="notice">';
+             $html.=_("Aucune catégorie de fiche ne correspond à".
+            " votre demande, le journal pourrait n'avoir accès à aucune 
fiche");
+             $html.='</h3>';
+             break;
+    }
      /* We limit the search to MAX_SEARCH_CARD records */
     $sql=$sql.' order by vw_name limit '.MAX_SEARCH_CARD;
     $a=$cn->get_array($sql);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]