Skip to content

Commit

Permalink
avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Sep 4, 2011
1 parent 7f46796 commit faf398b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/user/logout.php
Expand Up @@ -72,7 +72,7 @@
// Define url to go
$url=DOL_URL_ROOT."/index.php"; // By default go to login page
if ($urlfrom) $url=DOL_URL_ROOT.$urlfrom;
if ($conf->global->MAIN_LOGOUT_GOTO_URL) $url=$conf->global->MAIN_LOGOUT_GOTO_URL;
if (! empty($conf->global->MAIN_LOGOUT_GOTO_URL)) $url=$conf->global->MAIN_LOGOUT_GOTO_URL;

//print 'url='.$url;exit;
header("Location: ".$url);
Expand Down

0 comments on commit faf398b

Please sign in to comment.