summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 095b14a)
raw | patch | inline | side by side (parent: 095b14a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 13 Oct 2010 12:09:45 +0000 (12:09 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 13 Oct 2010 12:09:45 +0000 (12:09 +0000) |
-we do not have a valid folder path while creating it!
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20031 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20031 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderEditDialog.inc | patch | blob | history |
diff --git a/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderEditDialog.inc b/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderEditDialog.inc
index 006bd227afff428d6553ce2b1271f9c698359916..ec54aa69cac4b964f3700cc5175dbe8ad17023cf 100644 (file)
// Prepare folder name and path
$smarty->assign('folderName', preg_replace("/\{%cn\}/", "<i>Group name</i>", $this->folderItem['name']));
- $smarty->assign('folderPath', preg_replace("/\{%cn\}/", "<i>Group name</i>", $this->folderItem['path']));
-
+ if(isset($this->folderItem['path'])){
+ $smarty->assign('folderPath', preg_replace("/\{%cn\}/", "<i>Group name</i>", $this->folderItem['path']));
+ }else{
+ $smarty->assign('folderPath', '');
+ }
$smarty->assign('folderItem', $this->folderItem);
$smarty->assign('permissions', $this->permissions);