fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [16348] fix filter


From: sigurdne
Subject: [Fmsystem-commits] [16348] fix filter
Date: Mon, 20 Feb 2017 08:15:38 -0500 (EST)

Revision: 16348
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16348
Author:   sigurdne
Date:     2017-02-20 08:15:38 -0500 (Mon, 20 Feb 2017)
Log Message:
-----------
fix filter

Modified Paths:
--------------
    trunk/property/inc/class.botts.inc.php

Modified: trunk/property/inc/class.botts.inc.php
===================================================================
--- trunk/property/inc/class.botts.inc.php      2017-02-20 07:54:53 UTC (rev 
16347)
+++ trunk/property/inc/class.botts.inc.php      2017-02-20 13:15:38 UTC (rev 
16348)
@@ -158,7 +158,7 @@
                        $this->part_of_town_id = 
phpgw::get_var('part_of_town_id', 'int');
                        $default_district = 
(isset($GLOBALS['phpgw_info']['user']['preferences']['property']['default_district'])
 ? 
$GLOBALS['phpgw_info']['user']['preferences']['property']['default_district'] : 
'');
                        $district_id = phpgw::get_var('district_id', 'int');
-                       $this->district_id = $district_id ? $district_id : 
$default_district;
+                       $this->district_id = isset($_REQUEST['district_id']) ? 
$district_id : $default_district;
                        $this->allrows = phpgw::get_var('allrows', 'bool');
                        $this->start_date = phpgw::get_var('filter_start_date', 
'string');
                        $this->end_date = phpgw::get_var('filter_end_date', 
'string');




reply via email to

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