10000 [Form][HttpFoundation] Fixes to FileField by Seldaek · Pull Request #83 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Form][HttpFoundation] Fixes to FileField #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
4 commits merged into from
Mar 9, 2011
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[HttpFoundation] Minor optimization
  • Loading branch information
Seldaek committed Mar 9, 2011
commit 2a5fcdfb1a372e02e555701299d547ca12432542
4 changes: 2 additions & 2 deletions src/Symfony/Component/HttpFoundation/File/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
* This file is part of the Symfony package.
*
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
Expand Down Expand Up @@ -497,7 +497,7 @@ public function __construct($path)
*/
public function __toString()
{
return null === $this->getPath() ? '' : $this->getPath();
return null === $this->path ? '' : $this->path;
}

/**
Expand Down
0