phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r5179 - phpcompta/tags/rel650/html


From: phpcompta-dev
Subject: [Phpcompta-dev] r5179 - phpcompta/tags/rel650/html
Date: Wed, 13 Feb 2013 18:15:46 +0100 (CET)

Author: danydb
Date: 2013-02-13 18:15:46 +0100 (Wed, 13 Feb 2013)
New Revision: 5179

Modified:
   phpcompta/tags/rel650/html/ajax_misc.php
Log:
0000788: Lettrage : date invalide, bloque

Modified: phpcompta/tags/rel650/html/ajax_misc.php
===================================================================
--- phpcompta/tags/rel650/html/ajax_misc.php    2013-02-13 17:05:32 UTC (rev 
5178)
+++ phpcompta/tags/rel650/html/ajax_misc.php    2013-02-13 17:15:46 UTC (rev 
5179)
@@ -326,7 +326,7 @@
                $date_error="";
                // start date
                $start = new IDate('search_start');
-               $start->value = (isset($search_start)) ? $search_start : 
$first_per->first_day();
+
                /*  check if date are valid */
                if (isset($search_start) && isDate($search_start) == null)
                {
@@ -336,8 +336,8 @@
                        ob_end_clean();
                        $search_start=$first_per->first_day();
                }
+               $start->value = (isset($search_start)) ? $search_start : 
$first_per->first_day();
 
-
                $line = td('Date Debut') . td($start->input());
                // end date
                $end = new IDate('search_end');



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu



reply via email to

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