From 7d0a179c9a8ffe77a0379783e2b46ef986c22105 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 10 Feb 2015 08:19:14 +0000 Subject: [PATCH] do NOT return empty, if old_template is not set on initial call --- infolog/inc/class.infolog_ui.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index 5af5852ccb..e2d8ceacbb 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -406,8 +406,8 @@ class infolog_ui } } // Template change forces the UI to do a full update first, no point in getting rows right now - if($old_template != $query['template']) return 0; - + if($old_template && $old_template != $query['template']) return 0; + // do we need to read the custom fields, depends on the column is enabled and customfields exist, prefs are filter specific // so we have to check that as well $details = $query['filter2'] == 'all';