summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 631835d)
raw | patch | inline | side by side (parent: 631835d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 19 Nov 2007 09:42:35 +0000 (09:42 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 19 Nov 2007 09:42:35 +0000 (09:42 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7809 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions.inc | patch | blob | history | |
plugins/personal/environment/class_environment.inc | patch | blob | history |
diff --git a/include/functions.inc b/include/functions.inc
index 9732f341efd8d35bb7450187f48da4d3af39a500..d628de47a0033dcd92f7e7f1376d9a0c7bf9f2f7 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
$remove= false;
/* Save variables from LOCK_VARS_TO_USE in session - for further editing */
- if( is_global(LOCK_VARS_TO_USE) && count(get_global('LOCK_VARS_TO_USE'))){
+ if( is_global('LOCK_VARS_TO_USE') && count(get_global('LOCK_VARS_TO_USE'))){
$LOCK_VARS_USED = array();
$LOCK_VARS_TO_USE = get_global('LOCK_VARS_TO_USE');
diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc
index 8fb251c5145653bb53c0d5d21a6dcb1b4975f8e3..973edcc825b20debfd7c0f6ae5279bfb8d8f410e 100644 (file)
/* Log view */
if($this->is_account && !$this->view_logged){
$this->view_logged = TRUE;
- if(in_array("gosaAccount",$this->attrs['objectClass'])){
+ if(isset($this->parent->by_object['user']) || in_array("gosaAccount",$this->attrs['objectClass'])){
new log("view","users/".get_class($this),$this->dn);
}else{
new log("view","groups/".get_class($this),$this->dn);