1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Fixed TimeIntervalOptionType

This commit is contained in:
max-m 2011-12-10 17:32:42 +01:00
parent c062a7f956
commit e938614f01

View File

@ -24,8 +24,8 @@ public function getData(\wcf\data\option\Option $option, $newValue) {
public function getFormElement(\wcf\data\option\Option $option, $value) {
$tmp = (int) ($value / 60);
if ($value % 60 != 0) {
$tmp .= ','.($tmp % 60).'s';
$tmp .= ','.($value % 60).'s';
}
parent::getFormElement($option, $tmp);
return parent::getFormElement($option, $tmp);
}
}