From eadf885246e698b5d49b59a764b8ebf4dd111049 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 26 Apr 2003 08:39:59 +0000 Subject: [PATCH] fix for not exisiting common::display_mainscreen in .14/6 (til the feature-freeze) --- infolog/inc/hook_admin.inc.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/infolog/inc/hook_admin.inc.php b/infolog/inc/hook_admin.inc.php index 1704af7037..8adedbb753 100644 --- a/infolog/inc/hook_admin.inc.php +++ b/infolog/inc/hook_admin.inc.php @@ -19,6 +19,13 @@ ); //Do not modify below this line - $GLOBALS['phpgw']->common->display_mainscreen($appname,$file); + if ($GLOBALS['phpgw']->common->public_functions['display_mainscreen']) + { + $GLOBALS['phpgw']->common->display_mainscreen($appname,$file); + } + else + { + display_section($appname,lang($appname),$file); // for .14/6 + } } ?>