mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-19 23:07:03 +00:00
Next wrong strlen() usage replace with proper empty()
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
e553995fc7
commit
02d2abd2c0
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ function ljpost_send(App $a, array &$b) {
|
||||||
intval($b['uid'])
|
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'];
|
$tz = $x[0]['timezone'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue