Skip to content

Commit 0e686ae

Browse files
committed
fix: initialize return variable in while block execution
1 parent 8f0cd64 commit 0e686ae

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/class/scenarioElement.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ public function execute(&$_scenario = null) {
227227
return;
228228
}
229229
$endTime = time() + 3600;
230+
$return = false;
230231
while ($result) {
231232
$return = $this->getSubElement('do')->execute($_scenario);
232233
if (time() > $endTime) {

0 commit comments

Comments
 (0)