summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b347d8e)
Bug: T176090
Change-Id: I8488666c221a1bd4e4e063291e74819a07a4a20f
if ( $file->isDeleted( File::DELETED_COMMENT ) ) {
$comment = Xml::element( 'comment', [ 'deleted' => 'deleted' ] );
} else {
if ( $file->isDeleted( File::DELETED_COMMENT ) ) {
$comment = Xml::element( 'comment', [ 'deleted' => 'deleted' ] );
} else {
- $comment = Xml::elementClean( 'comment', null, $file->getDescription() );
+ $comment = Xml::elementClean( 'comment', null, strval( $file->getDescription() ) );
}
return " <upload>\n" .
$this->writeTimestamp( $file->getTimestamp() ) .
}
return " <upload>\n" .
$this->writeTimestamp( $file->getTimestamp() ) .