will be shut down on June 1, 2019. At that point this instance will be unreachable and all data will be irrevocably deleted. More details at

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