From 638ec3fcd0c7db0f3ed5dbf0f6a2b67fab59614b Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Tue, 29 Sep 2009 12:04:27 +0000 Subject: [PATCH] return false for _post_process_cf_header as the return of always true in rows context, breaks functionality with infolog close, closeall and delete called from listview --- etemplate/inc/class.nextmatch_widget.inc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/etemplate/inc/class.nextmatch_widget.inc.php b/etemplate/inc/class.nextmatch_widget.inc.php index 34af0342bd..ade5c1e7a5 100644 --- a/etemplate/inc/class.nextmatch_widget.inc.php +++ b/etemplate/inc/class.nextmatch_widget.inc.php @@ -760,8 +760,8 @@ class nextmatch_widget return False; // dont report value back, as it's in the wrong location (rows) case 'nextmatch-customfields': - return $this->_post_process_cf_header($value, $extension_data, $tmpl, $value_in, $nm_global); - + $this->_post_process_cf_header($value, $extension_data, $tmpl, $value_in, $nm_global); + return False; // dont report value back, as it's in the wrong location (rows) case 'link-entry': // allways return app:id, if an entry got selected, otherwise null if (is_array($value_in) && !empty($value_in['id'])) { @@ -962,6 +962,7 @@ class nextmatch_widget if (!isset($GLOBALS['egw_info']['user']['apps']['admin'])) { $export_limit = $GLOBALS['egw_info']['server']['export_limit']; + //if (isset($value['export_limit'])) $export_limit = $value['export_limit']; } list($app,$class,$method) = explode('.',$value['get_rows']); if ($app && $class)