noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 01/01: Task #1216 - Historique poste est vide


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/01: Task #1216 - Historique poste est vide #1216 : Esthetic
Date: Sun, 08 Nov 2015 23:00:46 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit f01674f28afb591ad05a9719bed67a2d61a8bfaa
Author: Dany De Bontridder <address@hidden>
Date:   Sat Nov 7 13:26:13 2015 +0100

    Task #1216 - Historique poste est vide
    #1216 : Esthetic
---
 include/ajax/ajax_history.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/ajax/ajax_history.php b/include/ajax/ajax_history.php
index 2bc2dc5..a879ac8 100644
--- a/include/ajax/ajax_history.php
+++ b/include/ajax/ajax_history.php
@@ -132,6 +132,7 @@ if ( isset($_GET['f_id']))
 if ( isset($_REQUEST['pcm_val']))
   {
     $poste=new Acc_Account_Ledger($cn,$_REQUEST['pcm_val']);
+    $poste->load();
     $year=$g_user->get_exercice();
     if ( $year == 0 )
       {
@@ -195,7 +196,6 @@ if ( isset($_REQUEST['pcm_val']))
         
         if ( $result == -1)
          {
-           echo h2($poste->id." ".$poste->name,' class="title"');
            echo h2(_("Aucune opération pour l'exercice 
courant"),'class="error"');
          } else {
                 echo $poste->filter_history('tb'.$div);



reply via email to

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