Commit 2b10e359fea9d6aabc5ab35557954a503bea730b
- Diff rendering mode:
- inline
- side by side
lib/api.php
(1 / 1)
|   | |||
| 168 | 168 | ||
| 169 | 169 | $timezone = 'UTC'; | |
| 170 | 170 | ||
| 171 | if ($user->timezone) { | ||
| 171 | if (!empty($user) && $user->timezone) { | ||
| 172 | 172 | $timezone = $user->timezone; | |
| 173 | 173 | } | |
| 174 | 174 |

