summaryrefslogtreecommitdiffstats
path: root/php/Attic/examples/sample-sp/index.php
diff options
context:
space:
mode:
authorChristophe Nowicki <cnowicki@easter-eggs.com>2004-09-10 15:17:36 +0000
committerChristophe Nowicki <cnowicki@easter-eggs.com>2004-09-10 15:17:36 +0000
commit0abfa7d0c8bac90e291cf7664a0302aa286f716d (patch)
tree29495885f98dc1080fc426ef08792dd0caf739a6 /php/Attic/examples/sample-sp/index.php
parent5be8519c1f44c4cbaecc659762bc5b23d36e2bfe (diff)
Use header("Location: $url\n\n") instead of header("Location: $url")
Secure every SQL query with the quoteSmart methode. Completely rewrite singleSignOn.php, now the code is more easy to understand and more clean.
Diffstat (limited to 'php/Attic/examples/sample-sp/index.php')
-rw-r--r--php/Attic/examples/sample-sp/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/Attic/examples/sample-sp/index.php b/php/Attic/examples/sample-sp/index.php
index 99c39bb9..c7b2d39b 100644
--- a/php/Attic/examples/sample-sp/index.php
+++ b/php/Attic/examples/sample-sp/index.php
@@ -127,7 +127,7 @@ You can get more informations about <b>Lasso</b> at <br>
if (DB::isError($res))
print $res->getMessage(). "\n";
- list($user_id, $identity_dump, $first_name, $last_name, $created, $last_login) = $res->fetchRow();
+ list($user_id, $identity_dump, $first_name, $last_name, $last_login, $created) = $res->fetchRow();
?>
<tr>