Embedded object ids are now explicitly casted to int
authorAlexander Ebert <ebert@woltlab.com>
Mon, 21 Jun 2021 14:47:42 +0000 (16:47 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 21 Jun 2021 14:47:42 +0000 (16:47 +0200)
commit685a8699fdc7cb76da76f36dba999fd20c43daa8
tree725a6af7a134a58874ee454ebd3662e6c66a9325
parent9b3f750bdbf4c456f87c01f3d25928bc8133e05b
Embedded object ids are now explicitly casted to int

https://wiki.php.net/rfc/string_to_number_comparison changed the behavior of PHP when comparing strings to numbers.

`123 == "123foo"` is true in PHP <8.0, but false starting with PHP 8.0.
wcfsetup/install/files/lib/system/message/embedded/object/MessageEmbeddedObjectManager.class.php