mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-19 06:47:03 +00:00
Opps, no DBM::is_result() here ...
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
02d2abd2c0
commit
1e1bba12da
2 changed files with 2 additions and 2 deletions
|
@ -175,7 +175,7 @@ function dwpost_send(App $a, array &$b) {
|
||||||
intval($b['uid'])
|
intval($b['uid'])
|
||||||
);
|
);
|
||||||
|
|
||||||
if (DBM::is_result($x) && strlen($x[0]['timezone'])) {
|
if (!empty($x[0]['timezone'])) {
|
||||||
$tz = $x[0]['timezone'];
|
$tz = $x[0]['timezone'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -168,7 +168,7 @@ function ljpost_send(App $a, array &$b) {
|
||||||
intval($b['uid'])
|
intval($b['uid'])
|
||||||
);
|
);
|
||||||
|
|
||||||
if (DBM::is_result($x) && !empty($x[0]['timezone'])) {
|
if (!empty($x[0]['timezone'])) {
|
||||||
$tz = $x[0]['timezone'];
|
$tz = $x[0]['timezone'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue