Skip to content
Snippets Groups Projects
Commit 173d78c4 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

check if $auth is set in editorinfo() FS#1636

darcs-hash:20090306185717-7ad00-64bc35049667483988dcc3f5b8128f8a5f7f8fe7.gz
parent d1acd0f3
No related branches found
No related tags found
No related merge requests found
......@@ -1376,7 +1376,7 @@ function editorinfo($username){
case 'username':
case 'email':
case 'email_link':
$info = $auth->getUserData($username);
if($auth) $info = $auth->getUserData($username);
break;
default:
return hsc($username);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment