Mercurial > hg > rc2
diff program/include/rcmail.php @ 15:85a746e95663
slowly working through deprecations/warnings from 8.3
| author | Charlie Root |
|---|---|
| date | Sat, 20 Sep 2025 12:16:50 -0400 |
| parents | 4681f974d28b |
| children | dd5ed6ef69c9 |
line wrap: on
line diff
--- a/program/include/rcmail.php Sat Sep 06 08:16:01 2025 -0400 +++ b/program/include/rcmail.php Sat Sep 20 12:16:50 2025 -0400 @@ -51,6 +51,7 @@ public $action = ''; public $comm_path = './'; public $filename = ''; + public $login_error; private $address_books = array(); private $action_map = array(); @@ -1201,6 +1202,8 @@ */ public function format_date($date, $format = null, $convert = true) { + $today = false; + if (is_object($date) && is_a($date, 'DateTime')) { $timestamp = $date->format('U'); }
