Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
BUG: refs #296 Fixed a bug in the logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Ma committed Nov 4, 2011
1 parent f9ad088 commit 10a52cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/controllers/UploadController.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,10 +286,9 @@ public function saveuploadedAction()
}
else
{
if(!empty($pathClient))
if(!empty($pathClient) && $pathClient != ";;")
{
$parentDao = $this->Folder->load($parent);
$this->getLogger()->info($pathClient);
$folders = explode('/', $pathClient);
unset($folders[count($folders) - 1]);
foreach($folders as $folderName)
Expand Down

0 comments on commit 10a52cf

Please sign in to comment.