Skip to content

Commit

Permalink
Corrected variable order in conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
rrehbein committed May 31, 2012
1 parent 94440c3 commit a52213b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/conditions/variables.php
Expand Up @@ -90,8 +90,8 @@ public function evaluate( $value )
isset( $value[$this->variableNameA] ) &&
isset( $value[$this->variableNameB] ) )
{
$this->condition->setValue( $value[$this->variableNameA] );
return $this->condition->evaluate( $value[$this->variableNameB] );
$this->condition->setValue( $value[$this->variableNameB] );
return $this->condition->evaluate( $value[$this->variableNameA] );
}
else
{
Expand Down

0 comments on commit a52213b

Please sign in to comment.