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

Commit 23d6d19e authored by Sarven Capadisli's avatar Sarven Capadisli

Better attachment view check

parent 95eff9c7
......@@ -253,7 +253,7 @@ class Attachment extends AttachmentListItem
if ($this->oembed->author_name || $this->oembed->provider) {
if (!empty($this->oembed->author_name) || !empty($this->oembed->provider)) {
$this->out->elementStart('div', array('id' => 'oembed_info',
'class' => 'entry-content'));
if (!empty($this->oembed->author_name)) {
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