From 93dd6ed6638075ac7808a19668f84e4b254a151f Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 29 May 2009 08:41:32 +0000 Subject: [PATCH] Fixed problem with missing function get_gosa_version git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13679 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/setup.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gosa-core/html/setup.php b/gosa-core/html/setup.php index 87eb0ec89..0c0056b1d 100644 --- a/gosa-core/html/setup.php +++ b/gosa-core/html/setup.php @@ -143,8 +143,11 @@ if ($error_collector != ""){ } else { $smarty->assign("php_errors", ""); } - -$smarty->assign("version",get_gosa_version()); +if(function_exists("get_gosa_version")){ + $smarty->assign("version",get_gosa_version()); +}else{ + $smarty->assign("version",""); +} echo $header.$smarty->fetch("../setup/setup_frame.tpl"); // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -- 2.30.2