From: Marcel Werk Date: Thu, 14 Jul 2016 12:29:05 +0000 (+0200) Subject: Fixed 'numeric value out of range' issue X-Git-Tag: 3.0.0_Beta_1~1154 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a5888364e939f6b7d541d5c5b2706feecbd19b7d;p=GitHub%2FWoltLab%2FWCF.git Fixed 'numeric value out of range' issue --- diff --git a/wcfsetup/install/files/lib/data/user/UserAction.class.php b/wcfsetup/install/files/lib/data/user/UserAction.class.php index d623975ecd..7f626bf867 100644 --- a/wcfsetup/install/files/lib/data/user/UserAction.class.php +++ b/wcfsetup/install/files/lib/data/user/UserAction.class.php @@ -201,6 +201,7 @@ class UserAction extends AbstractDatabaseObjectAction implements IClipboardActio $banExpires = $this->parameters['banExpires']; if ($banExpires) { $banExpires = strtotime($banExpires); + if ($banExpires > 2147483647) $banExpires = 2147483647; } else { $banExpires = 0;