aboutsummaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/login.php4
-rw-r--r--includes/todo.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/includes/login.php b/includes/login.php
index 38bbd5b..e7713c1 100644
--- a/includes/login.php
+++ b/includes/login.php
@@ -10,11 +10,11 @@
echo '<form style="margin-bottom:0;" action="'.$form_action.'" method="POST">';
echo '<input type="hidden" name="action" value="login">';
- foreach (array_keys($HTTP_GET_VARS) as $key) {
+ foreach (array_keys($_GET) as $key) {
if ($key == 'action' || $key == 'username' || $key == 'password') {
continue;
}
- echo '<input type="hidden" name="'.$key.'" value="'.$HTTP_GET_VARS[$key].'">';
+ echo '<input type="hidden" name="'.$key.'" value="'.$_GET[$key].'">';
}
// If the attempted login was invalid, change the box title.
diff --git a/includes/todo.php b/includes/todo.php
index b8d5766..2a45d35 100644
--- a/includes/todo.php
+++ b/includes/todo.php
@@ -5,7 +5,7 @@ include_once(BASE.'functions/init.inc.php');
include_once(BASE.'functions/date_functions.php');
require_once(BASE.'functions/template.php');
-$vtodo_array = unserialize(base64_decode($HTTP_GET_VARS['vtodo_array']));
+$vtodo_array = unserialize(base64_decode($_GET['vtodo_array']));
// Set the variables from the array
$vtodo_text = (isset($vtodo_array['vtodo_text'])) ? $vtodo_array['vtodo_text'] : ('');

© 2014-2024 Faster IT GmbH | imprint | privacy policy