From a5888364e939f6b7d541d5c5b2706feecbd19b7d Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 14 Jul 2016 14:29:05 +0200 Subject: [PATCH] Fixed 'numeric value out of range' issue --- wcfsetup/install/files/lib/data/user/UserAction.class.php | 1 + 1 file changed, 1 insertion(+) 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; -- 2.20.1