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:
Dan McGee 2011-03-01 12:24:34 -06:00 committed by Lukas Fleischer
parent ddbe6d0d33
commit cdc01130cf
2 changed files with 28 additions and 18 deletions

View file

@ -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="",