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

Commit 21c16b2e authored by Evan Prodromou's avatar Evan Prodromou

don't show display URL if avatar filename is missing

parent 2757bd84
......@@ -102,7 +102,7 @@ class Avatar extends Memcached_DataObject
function displayUrl()
$server = common_config('avatar', 'server');
if ($server) {
if ($server && !empty($this->filename)) {
return Avatar::url($this->filename);
} else {
return $this->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