Decompiler: fix missing else with only 1 opcode
This commit is contained in:
parent
29e6904ec5
commit
8a8428b9a8
|
@ -1080,7 +1080,7 @@ class Decompiler
|
|||
}
|
||||
}
|
||||
} while ($this->isIfCondition($range));
|
||||
if ($ifRange[1] < $range[1]) {
|
||||
if ($ifRange[1] <= $range[1]) {
|
||||
$elseRange = array($ifRange[1], $range[1], 'EX' => &$EX);
|
||||
echo $indent, 'else ', '{', PHP_EOL;
|
||||
$this->beginScope($EX);
|
||||
|
|
Loading…
Reference in New Issue