summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/acctfuncs.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/lib/acctfuncs.inc b/web/lib/acctfuncs.inc
index 5dfe50e..d5137be 100644
--- a/web/lib/acctfuncs.inc
+++ b/web/lib/acctfuncs.inc
@@ -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="",