Skip to content

Commit 0bbde0a

Browse files
committed
Fixed small error
1 parent 8bef86b commit 0bbde0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/doctrine/file_uploads.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ First, create a simple Doctrine Entity class to work with::
5555

5656
public function getWebPath()
5757
{
58-
return null === $this->path ? null : $this->getWebPath().'/'.$this->path;
58+
return null === $this->path ? null : $this->getUploadDir().'/'.$this->path;
5959
}
6060

6161
protected function getUploadRootDir()

0 commit comments

Comments
 (0)