diff --git a/app/Helpers/Admin/Board_helper.php b/app/Helpers/Admin/Board_helper.php index 7b61ef2..f6aeeb0 100644 --- a/app/Helpers/Admin/Board_helper.php +++ b/app/Helpers/Admin/Board_helper.php @@ -94,20 +94,23 @@ function getFieldIndex_Row_BoardHelper($field, $entity, array $fieldFilters, $fi $value = $entity->$field ?: DEFAULTS['EMPTY']; switch ($field) { case 'title': - return anchor( - current_url() . '/view/' . $entity->getPrimaryKey(), - $value, - [ - ...$attributes, - "style" => sprintf("padding-left:%spx", $entity->getHierarchy_Depth() * DEFAULTS['HIERARCHY_GRPDEPTH']), - "target" => "_self" - ] - ) . + return sprintf( + "
%s%s
", + anchor( + current_url() . '/view/' . $entity->getPrimaryKey(), + $value, + [ + ...$attributes, + "style" => sprintf("padding-left:%spx", $entity->getHierarchy_Depth() * DEFAULTS['HIERARCHY_GRPDEPTH']), + "target" => "_self" + ] + ), anchor( current_url() . '/reply/' . $entity->getPrimaryKey(), ICONS["REPLY"], ["target" => "_self"] - ); + ) + ); break; case 'board_file': case 'upload_file':