Don't add content as title for notes
This commit is contained in:
@@ -589,7 +589,13 @@ class Activity
|
||||
|
||||
} else {
|
||||
$xs->element('id', null, $this->id);
|
||||
$xs->element('title', null, $this->title);
|
||||
|
||||
if ($this->title) {
|
||||
$xs->element('title', null, $this->title);
|
||||
} else {
|
||||
// Require element
|
||||
$xs->element('title', null, "");
|
||||
}
|
||||
|
||||
$xs->element('content', array('type' => 'html'), $this->content);
|
||||
|
||||
|
Reference in New Issue
Block a user