Minor improvements (#1525)

* Minor improvements

* Update posting_tpl.tpl

* Update CHANGELOG.md

* Updated

* Update clean_pm.php

* Update mysql.sql

* Update mysql.sql

* Update mysql.sql

* Update mysql.sql

* Update mysql.sql
This commit is contained in:
Roman Kelesidis 2024-06-28 12:38:43 +07:00 committed by GitHub
commit 3488c9cc28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 33 additions and 22 deletions

View file

@ -109,15 +109,6 @@ switch ($field) {
$this->response['new_value'] = htmlCHR($value);
break;
case 'user_regdate':
case 'user_lastvisit':
$tz = TIMENOW + (3600 * $bb_cfg['board_timezone']);
if (($value = strtotime($value, $tz)) < $bb_cfg['board_startdate'] or $value > TIMENOW) {
$this->ajax_die($lang['INVALID_DATE'] . $this->request['value']);
}
$this->response['new_value'] = bb_date($value, 'Y-m-d H:i', false);
break;
case 'u_up_total':
case 'u_down_total':
case 'u_up_release':