summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1a39d58)
raw | patch | inline | side by side (parent: 1a39d58)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 22 Jul 2010 13:39:05 +0000 (13:39 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 22 Jul 2010 13:39:05 +0000 (13:39 +0000) |
-Updated post handling
-Added location to script execution vars
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19049 594d385d-05f5-0310-b6e9-bd551577e9d8
-Added location to script execution vars
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19049 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_plugin.inc | patch | blob | history |
index 62526a2c350fa1be2d273c02827cdd0fefc8879c..bb5d80135f421177af7715334feaae413062f08e 100644 (file)
if (isset ($_POST["$val"]) && $this->acl_is_writeable($val)){
/* Check for modifications */
- $data= $this->$val = get_post($val);
+ $data= get_post($val);
if ($this->$val != $data){
$this->is_modified= TRUE;
}
+ $this->$val = $data;
/* Okay, how can I explain this fix ...
* In firefox, disabled option fields aren't selectable ... but in IE you can select these fileds.
{
global $config;
$command = $config->configRegistry->getPropertyValue(get_class($plugin),$cmd);
-
+
if ($command != ""){
// Walk trough attributes list and add the plugins attributes.
$ui = get_userinfo();
$addAttrs['callerDN']=$ui->dn;
$addAttrs['dn']=$plugin->dn;
+ $addAttrs['location']=$config->current['NAME'];
// Sort attributes by length, ensures correct replacement
$tmp = array();