Skip to content

Commit

Permalink
Update UploadBehavior.php
Browse files Browse the repository at this point in the history
  • Loading branch information
allanmcarvalho authored Nov 14, 2017
1 parent 68a4899 commit 92f06d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Behavior/UploadBehavior.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function beforeMarshal(Event $event, \ArrayObject $data, \ArrayObject $op
{
continue;
}
if (Hash::get($dataArray, $field . '.error') !== UPLOAD_ERR_NO_FILE)
if (Hash::get($dataArray, $field . '.error') != UPLOAD_ERR_NO_FILE)
{
continue;
}
Expand Down

0 comments on commit 92f06d8

Please sign in to comment.