Code

Ported ogroups to new listing.
[gosa.git] / gosa-core / html / setup.php
index 87eb0ec8901d8f757dd1d74c70437f035e10264a..0c0056b1d7dc2688283541e05c76a4f47b605871 100644 (file)
@@ -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: