Simplify `isset()` check in ControllerMap::resolve()
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 2 Jun 2022 10:03:52 +0000 (12:03 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 2 Jun 2022 10:03:52 +0000 (12:03 +0200)
commite704adf201fb2cb333266be3c068ae6889b2bd7a
treee3656fb407b8f8588bd311e3a933bddb76531524
parentd82fe5cf5a36aac08b18690597c7acf637da24b9
Simplify `isset()` check in ControllerMap::resolve()

The first test was a prefix of the second, thus it is implicitly checked.

Also run the `wcf` check in all cases, while this might check the same entry
twice for `$application == 'wcf'`, this will not have a relevant performance
impact and make the code much more readable.
wcfsetup/install/files/lib/system/request/ControllerMap.class.php