We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e19a9a7 commit 940a050Copy full SHA for 940a050
src/RememberedFile.php
@@ -12,7 +12,7 @@ class RememberedFile extends \Symfony\Component\HttpFoundation\File\UploadedFile
12
*/
13
public function isValid()
14
{
15
- $isOk = UPLOAD_ERR_OK === $this->error;
+ $isOk = UPLOAD_ERR_OK === $this->getError();
16
17
return $isOk; // @todo check that pathname is within the expected storage directory
18
//return $this->test ? $isOk : $isOk && is_uploaded_file($this->getPathname());
0 commit comments