From: Marcel Werk Date: Fri, 11 Oct 2013 13:53:10 +0000 (+0200) Subject: Fixed small issues X-Git-Tag: 2.0.0_Beta_11~43 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=92afde98effc8f3c3f81245d8f2e008d5b03dfa3;p=GitHub%2FWoltLab%2FWCF.git Fixed small issues --- diff --git a/com.woltlab.wcf/templates/membersList.tpl b/com.woltlab.wcf/templates/membersList.tpl index f9ddba4d31..45e435113a 100644 --- a/com.woltlab.wcf/templates/membersList.tpl +++ b/com.woltlab.wcf/templates/membersList.tpl @@ -41,7 +41,7 @@ {capture assign='sidebar'} {assign var=encodedLetter value=$letter|rawurlencode}
-
+
@@ -49,6 +49,7 @@
+ {@SECURITY_TOKEN_INPUT_TAG}
diff --git a/wcfsetup/install/files/lib/system/option/BirthdayOptionType.class.php b/wcfsetup/install/files/lib/system/option/BirthdayOptionType.class.php index 3e14bb3bf9..91f33fac1e 100644 --- a/wcfsetup/install/files/lib/system/option/BirthdayOptionType.class.php +++ b/wcfsetup/install/files/lib/system/option/BirthdayOptionType.class.php @@ -71,6 +71,8 @@ class BirthdayOptionType extends DateOptionType { $ageFrom = intval($value['ageFrom']); $ageTo = intval($value['ageTo']); + if ($ageFrom < 0 || $ageFrom > 120) return false; + if ($ageTo < 0 || $ageTo > 120) return false; if (!$ageFrom || !$ageTo) return false; $dateFrom = DateUtil::getDateTimeByTimestamp(TIME_NOW)->sub(new \DateInterval('P'.($ageTo + 1).'Y'))->add(new \DateInterval('P1D'));