aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/input.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-17 16:49:21 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-17 16:49:21 +0000
commit0f2e67985d80ad91cd000e33d6e8a7751121d370 (patch)
tree8833d61e09436b2d409f5238a8e65741dd720636 /engine/lib/input.php
parentd203a2e6f4bb69b9b33e157c130eab6408ebce89 (diff)
downloadelgg-0f2e67985d80ad91cd000e33d6e8a7751121d370.tar.gz
elgg-0f2e67985d80ad91cd000e33d6e8a7751121d370.tar.bz2
CLOSED - #34: Install process must be completely graphical
http://trac.elgg.org/elgg/ticket/34 git-svn-id: https://code.elgg.org/elgg/trunk@951 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/input.php')
-rw-r--r--engine/lib/input.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/engine/lib/input.php b/engine/lib/input.php
index 9244c16f3..f42aa7a25 100644
--- a/engine/lib/input.php
+++ b/engine/lib/input.php
@@ -20,9 +20,12 @@
function get_input($variable, $default = "")
{
- if (isset($_REQUEST[$variable])) {
- $value = $_REQUEST[$variable];
- return trim($_REQUEST[$variable]);
+ if (isset($_REQUEST[$variable])) {
+
+ if (is_array($_REQUEST[$variable]))
+ return $_REQUEST[$variable];
+ else
+ return trim($_REQUEST[$variable]);
}
global $CONFIG;