Escaping a URI in common_debug call

This commit is contained in:
Mikael Nordfeldth 2017-04-27 09:23:45 +02:00
parent ea6d8b8bde
commit 598b51eb7a

View File

@ -367,7 +367,7 @@ class Ostatus_profile extends Managed_DataObject
if ($this->salmonuri) {
return Salmon::post($this->salmonuri, $this->notifyPrepXml($entry), $actor, $this->localProfile());
}
common_debug(__CLASS__.' error: No salmonuri for Ostatus_profile uri: '.$this->uri);
common_debug(__CLASS__.' error: No salmonuri for Ostatus_profile uri: '._ve($this->getUri()));
return false;
}