Fix off-by-one in selectOptions (phpBB 3.1+)
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 1 Oct 2020 10:18:37 +0000 (12:18 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 1 Oct 2020 10:19:38 +0000 (12:19 +0200)
commit5e9f65075aff6520093a359f0eca524d5e27cc05
treeb9ff660e609e1fab99a59c643dc050ff49d96da0
parent07015b4946ef0bcc45c4165af4ed73754a5ddb76
Fix off-by-one in selectOptions (phpBB 3.1+)

Apparently the `option_id` is 0-indexed, but the value selected by the user is
stored 1-indexed. Technically the underscore workaround could now be removed.
files/lib/system/exporter/PhpBB31xExporter.class.php