Browse Source

Decompiler: fix missing else with only 1 opcode

master
Xuefer 5 years ago
parent
commit
8a8428b9a8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/Decompiler.class.php

+ 1
- 1
lib/Decompiler.class.php 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);


Loading…
Cancel
Save