Till Brehm
2015-11-14 cc636e1a8ed430f060766e22cbdfeaa8de4afbc3
Fixed PHP warning when no IDN filters are set for field in lists.
1 files modified
2 ■■■■■ changed files
interface/lib/classes/listform.inc.php 2 ●●●●● patch | view | raw | blame | history
interface/lib/classes/listform.inc.php
@@ -199,6 +199,7 @@
                $searchval = $_SESSION['search'][$list_name][$search_prefix.$field];
                // IDN
                if($searchval != ''){
                    if(is_array($i['filters'])) {
                    foreach($i['filters'] as $searchval_filter) {
                        if($searchval_filter['event'] == 'SHOW') {
                            switch ($searchval_filter['type']) {
@@ -210,6 +211,7 @@
                        }
                    }
                }
                }
        
                // format user date format to MySQL date format 0000-00-00
                if($i['datatype'] == 'DATE' && $this->lng('conf_format_dateshort') != 'Y-m-d'){