We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 013df775 authored by tobyink's avatar tobyink

Syntax error fix.

parent 350639f3
......@@ -73,7 +73,7 @@ if(isset($logged_in) && $logged_in) {
// Check that return URI is on this server. Prevents possible phishing uses.
if ( substr($_POST['return'], 0, 1) == '/' )
{ header(sprintf('Location: http://%s%s', $_SERVER['SERVER_NAME'], $_POST['return']));
{ header(sprintf('Location: http://%s%s', $_SERVER['SERVER_NAME'], $_POST['return'])); }
else
{ header("Location: $base_url"); }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment