diff --git a/filesystem/Folder.php b/filesystem/Folder.php index b6f4bdfd6..249710885 100755 --- a/filesystem/Folder.php +++ b/filesystem/Folder.php @@ -30,6 +30,7 @@ class Folder extends File { $item = new Folder(); $item->ParentID = $parentID; $item->Name = $part; + $item->Title = $part; $item->write(); if(!file_exists($item->getFullPath())) mkdir($item->getFullPath(),Filesystem::$folder_create_mask); } @@ -37,6 +38,8 @@ class Folder extends File { } return $item; } +// To Make SSP Gallery structure work +// $item->Title = $part; function userCanUse() { if( Member::currentUser()->_isAdmin() )