Skip to content

Loading…

Update library/Zend/Validator/File/MimeType.php #3308

Merged
merged 1 commit into from

2 participants

@maxnuf

added missing return statement

@weierophinney weierophinney merged commit 51e009a into zendframework:develop

1 check failed

Details default The Travis build failed
@weierophinney weierophinney was assigned
@katalonec katalonec pushed a commit to katalonec/zf2 that referenced this pull request
@weierophinney weierophinney Merge branch 'hotfix/3308' into develop
Close #3308
a3108ed
@ghost Unknown pushed a commit that referenced this pull request
@weierophinney weierophinney Merge branch 'hotfix/3308' into develop
Close #3308
77bb77e
@weierophinney weierophinney added a commit to zendframework/zend-validator that referenced this pull request
@weierophinney weierophinney Merge branch 'hotfix/3308' into develop 70cc541
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 29, 2012
  1. @maxnuf

    Update library/Zend/Validator/File/MimeType.php

    maxnuf committed
    added missing return statement
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1 library/Zend/Validator/File/MimeType.php
View
2 library/Zend/Validator/File/MimeType.php
@@ -404,7 +404,7 @@ public function isValid($value)
if (empty($this->type)) {
$this->error(static::NOT_DETECTED);
- false;
+ return false;
}
$mimetype = $this->getMimeType(true);
Something went wrong with that request. Please try again.