summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d0f5256)
raw | patch | inline | side by side (parent: d0f5256)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 Nov 2008 09:09:16 +0000 (09:09 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 Nov 2008 09:09:16 +0000 (09:09 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12917 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiTemplateEntry.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiTemplateEntry.inc b/gosa-plugins/fai/admin/fai/class_faiTemplateEntry.inc
index 76b4312b1402f7378c6d83ff144f4b743fd4e0d5..0fea63c2ce83a235be5e6ece026aacf47e79e1f0 100644 (file)
if($this->acl_is_writeable("cn")){
$cur_path = dirname($cur_path).'/'.get_post('templateFile');
}
- if(!isset($_POST['TmpFileUpload'])){
- $this->FAItemplatePath = $this->cn= $cur_path;
+ if(trim($cur_path,"/") == ""){
+ $cur_path= "";
}
+ $this->FAItemplatePath = $this->cn= $cur_path;
}
}