diff --git a/inc/common.php b/inc/common.php index 46d0002dfdb0d7b77b1d7eee952f391dc4c58b7f..fd54b7fafd76f47c4218968864f40432de25566e 100644 --- a/inc/common.php +++ b/inc/common.php @@ -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);