fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13151]


From: Nelson Guerra
Subject: [Fmsystem-commits] [13151]
Date: Wed, 06 May 2015 20:32:42 +0000

Revision: 13151
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13151
Author:   nelson224
Date:     2015-05-06 20:32:42 +0000 (Wed, 06 May 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/property/inc/class.uientity.inc.php

Modified: branches/dev-syncromind/property/inc/class.uientity.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uientity.inc.php 2015-05-06 
15:57:31 UTC (rev 13150)
+++ branches/dev-syncromind/property/inc/class.uientity.inc.php 2015-05-06 
20:32:42 UTC (rev 13151)
@@ -471,6 +471,12 @@
                        $start_date     = urldecode($this->start_date);
                        $end_date = urldecode($this->end_date);
                        
+                       if($start_date && empty($end_date)) 
+                       {
+                               $dateformat = 
$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
+                               $end_date = 
$GLOBALS['phpgw']->common->show_date(mktime(0,0,0,date("m"),date("d"),date("Y")),$dateformat);
+                       }
+                       
                        $search = phpgw::get_var('search');
                        $order = phpgw::get_var('order');
                        $draw = phpgw::get_var('draw', 'int');




reply via email to

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