Commit d13483ca authored by mmn's avatar mmn

Wups, $poster could be undefined

parent 33194b3c
......@@ -146,6 +146,8 @@ class AttachmentListItem extends Widget
if ($thumb instanceof File_thumbnail) {
$poster = $thumb->getUrl();
unset($thumb); // there's no need carrying this along after this
} else {
$poster = null;
}
$this->out->elementStart($mediatype,
......
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