File tree 1 file changed +7
-3
lines changed 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 9
9
* to you under the Apache License, Version 2.0 (the
10
10
* "License"); you may not use this file except in compliance
11
11
* with the License. You may obtain a copy of the License at
12
- *
12
+ *
13
13
* http://www.apache.org/licenses/LICENSE-2.0
14
- *
14
+ *
15
15
* Unless required by applicable law or agreed to in writing,
16
16
* software distributed under the License is distributed on an
17
17
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -111,7 +111,11 @@ public function execute( ezcWorkflowExecution $execution )
111
111
);
112
112
}
113
113
114
- if ( is_numeric ( $ this ->configuration ['operand ' ] ) )
114
+ if ( !isset ( $ this ->configuration ['operand ' ] ) ) {
115
+ $ this ->operand = 1 ;
116
+ }
117
+
118
+ else if ( is_numeric ( $ this ->configuration ['operand ' ] ) )
115
119
{
116
120
$ this ->operand = $ this ->configuration ['operand ' ];
117
121
}
You can’t perform that action at this time.
0 commit comments