mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
Fix PHP notices in account pages
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
ddbe6d0d33
commit
cdc01130cf
2 changed files with 28 additions and 18 deletions
|
@ -1,5 +1,13 @@
|
|||
<?php
|
||||
|
||||
# Helper function- retrieve request param if available, "" otherwise
|
||||
function in_request($name) {
|
||||
if (isset($_REQUEST[$name])) {
|
||||
return $_REQUEST[$name];
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
# Display the standard Account form, pass in default values if any
|
||||
|
||||
function display_account_form($UTYPE,$A,$U="",$T="",$S="",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue