Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixing aparent bug where configuration and operand options for engine…

…'s arithmetic base are messed up
  • Loading branch information...
commit f0774df9825c28e38a5910c4b007abbd3411e1f2 1 parent 1f250f6
José Lorenzo Rodríguez authored
7 vendors/ezc/Workflow/src/interfaces/node_arithmetic_base.php
@@ -95,6 +95,11 @@ public function execute( ezcWorkflowExecution $execution )
95 95 );
96 96 }
97 97
  98 + if ( is_string( $this->configuration ) )
  99 + {
  100 + $this->operand = $execution->getVariable( $this->configuration );
  101 + }
  102 +
98 103 if ( is_numeric( $this->configuration['operand'] ) )
99 104 {
100 105 $this->operand = $this->configuration['operand'];
@@ -136,4 +141,4 @@ public function execute( ezcWorkflowExecution $execution )
136 141 */
137 142 abstract protected function doExecute();
138 143 }
139   -?>
  144 +?>

0 comments on commit f0774df

Please sign in to comment.
Something went wrong with that request. Please try again.