Code

Fixed helpviewer - thanks to jan
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 3 Apr 2008 14:59:49 +0000 (14:59 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 3 Apr 2008 14:59:49 +0000 (14:59 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10174 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/helpviewer.php

index 0be42bbe6c461df88b8df59dbba692eba3ee5061..b09ea4cd46092222915b9e889d014dc8b9fe6a33 100644 (file)
@@ -142,7 +142,8 @@ if(session::is_set('current_class_for_help')){
 
 }elseif(isset($_GET['plug'])){
   /* This displays helpfiles depending on the current $_GET[plug] */
-  $tmp                          = new pluglist(session::get('config'),get_userinfo());
+  $ui= get_userinfo();
+  $tmp                          = new pluglist(session::get('config'), $ui);
   $path                         = $tmp->get_path($_GET['plug']);
   $helpobject['currentplug']    = $path;
   $helpobject['file']           = "index.html";