diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index 433be30ae..4dfdea062 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -698,9 +698,9 @@ class BBCode if (!empty($data['provider_url']) && !empty($data['provider_name'])) { if (!empty($data['author_name'])) { - $return .= sprintf('%s (%s)', $data['provider_url'], $data['author_name'], $data['provider_name']); + $return .= sprintf('%s (%s)', $data['provider_url'], $data['author_name'], $data['provider_name']); } else { - $return .= sprintf('%s', $data['provider_url'], $data['provider_name']); + $return .= sprintf('%s', $data['provider_url'], $data['provider_name']); } }