fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13362] class.uigallery.inc


From: Saul
Subject: [Fmsystem-commits] [13362] class.uigallery.inc
Date: Thu, 04 Jun 2015 22:37:44 +0000

Revision: 13362
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13362
Author:   psaul
Date:     2015-06-04 22:37:44 +0000 (Thu, 04 Jun 2015)
Log Message:
-----------
class.uigallery.inc

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

Modified: branches/dev-syncromind/property/inc/class.uigallery.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uigallery.inc.php        
2015-06-04 22:33:25 UTC (rev 13361)
+++ branches/dev-syncromind/property/inc/class.uigallery.inc.php        
2015-06-04 22:37:44 UTC (rev 13362)
@@ -919,14 +919,17 @@
         {
             $start_date = urldecode(phpgw::get_var('start_date'));
             $end_date   = urldecode(phpgw::get_var('end_date'));
-//            $start_date      = urldecode($this->start_date);
-//                     $end_date = urldecode($this->end_date);
             
             $search = phpgw::get_var('search');
                        $order = phpgw::get_var('order');
                        $draw = phpgw::get_var('draw', 'int');
                        $columns = phpgw::get_var('columns');
             
+            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);
+                       }
             
             $params = array(
                 'start' => phpgw::get_var('start', 'int', 'REQUEST', 0),




reply via email to

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