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

Commit

Permalink
Merge branch 'hotfix/psr-2_compliance' of git://github.com/RWOverdijk…
Browse files Browse the repository at this point in the history
…/zf2 into RWOverdijk-hotfix/psr-2_compliance
  • Loading branch information
Ralph Schindler committed Aug 13, 2012
3 parents db93d37 + aa57612 + ede69bd commit c9aa9b4
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 c9aa9b4

Please sign in to comment.