Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of git://github.com/zendframework/zf2
Browse files Browse the repository at this point in the history
  • Loading branch information
tr committed Aug 13, 2012
3 parents db93d37 + aa57612 + c9aa9b4 commit 4af81d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Filter/Alnum.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Alnum extends AbstractLocale
public function __construct($allowWhiteSpaceOrOptions = null, $locale = null)
{
if ($allowWhiteSpaceOrOptions !== null) {
if (static::isOptions($allowWhiteSpaceOrOptions)){
if (static::isOptions($allowWhiteSpaceOrOptions)) {
$this->setOptions($allowWhiteSpaceOrOptions);
} else {
$this->setAllowWhiteSpace($allowWhiteSpaceOrOptions);
Expand Down

0 comments on commit 4af81d8

Please sign in to comment.