diff --git a/ljpost/ljpost.php b/ljpost/ljpost.php index e9821544..9f604906 100644 --- a/ljpost/ljpost.php +++ b/ljpost/ljpost.php @@ -168,7 +168,7 @@ function ljpost_send(App $a, array &$b) { intval($b['uid']) ); - if (DBM::is_result($x) && strlen($x[0]['timezone'])) { + if (DBM::is_result($x) && !empty($x[0]['timezone'])) { $tz = $x[0]['timezone']; }