diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2017-02-26 22:03:23 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2017-02-27 18:19:08 +0100 |
commit | 333689a885fb50fdfc8068b5885c41b9d3cf1510 (patch) | |
tree | 80ffbd6fa4143913180e698687ed5a27a69d4d71 /web | |
parent | f2357a1724334ce27bc7fad2a59b16a247b8246c (diff) | |
download | aur-333689a885fb50fdfc8068b5885c41b9d3cf1510.tar.gz aur-333689a885fb50fdfc8068b5885c41b9d3cf1510.tar.xz |
Suppress warning on unset SSH key
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web')
-rw-r--r-- | web/lib/acctfuncs.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/acctfuncs.inc.php b/web/lib/acctfuncs.inc.php index 63ab4b4a..a6eab274 100644 --- a/web/lib/acctfuncs.inc.php +++ b/web/lib/acctfuncs.inc.php @@ -244,7 +244,7 @@ function process_account_form($TYPE,$A,$U="",$T="",$S="",$E="",$H="",$P="",$C="" "<strong>", htmlspecialchars($E,ENT_QUOTES), "</strong>"); } } - if (!$error && count($ssh_keys) > 0) { + if (!$error && isset($ssh_keys) && count($ssh_keys) > 0) { /* * Check whether any of the SSH public keys is already in use. * TODO: Fix race condition. |