diff options
author | fiwswe <53953985+fiwswe@users.noreply.github.com> | 2023-05-31 23:19:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-31 23:19:38 +0200 |
commit | eea5d349576d2303a12171ca3fe641eda1377542 (patch) | |
tree | 14d5e2b2792d6f06614b95f1a47a3bec627bc5be /lib/scripts/behaviour.js | |
parent | e6af5171c3234eae16d4739ebd06e179fd7f444c (diff) | |
download | dokuwiki-eea5d349576d2303a12171ca3fe641eda1377542.tar.gz dokuwiki-eea5d349576d2303a12171ca3fe641eda1377542.zip |
Better fix
This is more concise and it also fixes a similar case in a different line.
`empty($userinfo['mail'])`correctly deals with:
- `$userinfo === false` => `true`
- `!array_key_exists('mail', $userinfo)` => `true`
- `!isset($userinfo['mail'])` => `true`
- `$userinfo['mail'] === ''` => `true`
Diffstat (limited to 'lib/scripts/behaviour.js')
0 files changed, 0 insertions, 0 deletions