Commit 2a460394 authored by Robert Lyon's avatar Robert Lyon Committed by Jinelle Foley-Barnes
Browse files

Bug 1486262: Removing the isset() option from Note content.tpl


Change-Id: I3b0dae6cfb1ebd3af3df5d69eaf252e9299855a0
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
parent 73647d70
......@@ -57,10 +57,9 @@ class PluginBlocktypeTextbox extends PluginBlocktype {
$attachment->downloadpath .= '&view=' . $viewid;
$smarty->assign('attachments', $attachments);
$smarty->assign('count', count($attachments));
$smarty->assign('attachments', $attachments);
if ($artefact->get('allowcomments')) {
$commentcount = ArtefactTypeComment::count_comments(null, array($configdata['artefactid']));
$commentcount = isset($commentcount[$configdata['artefactid']]) ? $commentcount[$configdata['artefactid']]->comments : 0;
{if isset($attachments)}
{if $attachments}
<table class="cb attachments fullwidth">
<thead class="expandable-head">
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