From 77a6ebc9b0e427e3bdb20c7b7277ca9f99205f1c Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 28 Nov 2005 09:18:52 +0000 Subject: [PATCH] Fixed helpviewer git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2093 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/helpviewer.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/html/helpviewer.php b/html/helpviewer.php index 05f31f494..93a3b7d69 100644 --- a/html/helpviewer.php +++ b/html/helpviewer.php @@ -103,7 +103,7 @@ if(isset($_SESSION['current_class_for_help'])){ /* Generate help array */ $str = $xml->parse(); - + /* __LANG__ is used as placeholder for the used language*/ $helpdir= preg_replace("/__LANG__/i",$lang,$str[($_SESSION['current_class_for_help'])]['PATH']); @@ -125,7 +125,9 @@ if(isset($_SESSION['current_class_for_help'])){ $helpobject['currentplug'] = $helpdir; /* Avoid displaying the same help every time */ - unset($_SESSION['current_class_for_help']); + if(isset($_GET['pg'])){ + unset($_SESSION['current_class_for_help']); + } }elseif(isset($_GET['plug'])){ /* This displays helpfiles depending on the current $_GET[plug] */ -- 2.30.2