Fix invalid object types are handled with additionalData
authorJoshua Rüsweg <josh@bastelstu.be>
Fri, 22 Jun 2018 14:12:16 +0000 (16:12 +0200)
committerJoshua Rüsweg <josh@bastelstu.be>
Fri, 22 Jun 2018 14:12:16 +0000 (16:12 +0200)
commite2e20b7294e45e40ce533c063dd6541e18f49f8c
treee514e4f7bc9da6d0e9d222981ddfa487f9621d79
parent732767d6f8907efc73815f7c247c1d089a063e96
Fix invalid object types are handled with additionalData
These objects can contain an additionalData value which is NULL. This leads to an error with the strict data types, since unserialize expects a string.
See #2534
wcfsetup/install/files/lib/data/box/Box.class.php
wcfsetup/install/files/lib/data/user/notification/UserNotification.class.php