Opps, no DBM::is_result() here ...

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2018-05-14 22:07:58 +02:00
parent 02d2abd2c0
commit 1e1bba12da
2 changed files with 2 additions and 2 deletions

View file

@ -175,7 +175,7 @@ function dwpost_send(App $a, array &$b) {
intval($b['uid'])
);
if (DBM::is_result($x) && strlen($x[0]['timezone'])) {
if (!empty($x[0]['timezone'])) {
$tz = $x[0]['timezone'];
}

View file

@ -168,7 +168,7 @@ function ljpost_send(App $a, array &$b) {
intval($b['uid'])
);
if (DBM::is_result($x) && !empty($x[0]['timezone'])) {
if (!empty($x[0]['timezone'])) {
$tz = $x[0]['timezone'];
}