Fix handling of negative numbers in StringUtil::formatInteger()
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 24 Jul 2023 07:20:04 +0000 (09:20 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 24 Jul 2023 07:20:04 +0000 (09:20 +0200)
commitb299afff5b42c008bb8bc0b15be3565d2d02f5ec
treec813d5aacd527fb19562c674591e77ab67a0ba70
parentf0aaa10d587cf7c26191a45a6ba5aca1ac25680e
Fix handling of negative numbers in StringUtil::formatInteger()

The formatted value was compared against `0`, not the original integer. Just
delegate to `formatNumeric()`.
wcfsetup/install/files/lib/util/StringUtil.class.php