1
0
Fork 0

Decompiler: fix missing else with only 1 opcode

This commit is contained in:
Xuefer 2015-06-23 16:45:40 +08:00
parent 29e6904ec5
commit 8a8428b9a8
1 changed files with 1 additions and 1 deletions

View File

@ -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);