From 2b88ac140fbd17cea46f9fa51b400cb1fb8e039a Mon Sep 17 00:00:00 2001 From: Tilman Kranz Date: Sat, 27 Nov 2021 03:52:33 +0100 Subject: [PATCH] bugfix in output formatting --- linuxfoo-gitlab.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linuxfoo-gitlab.php b/linuxfoo-gitlab.php index 449134c..174338c 100644 --- a/linuxfoo-gitlab.php +++ b/linuxfoo-gitlab.php @@ -94,7 +94,7 @@ class LinuxfooGitlab { $project_header. ''. __('No commits', 'linuxfoo-gitlab'). - (is_null($branch) ? '' : ' '.__('in branch', 'linuxfoo-gitlab').' "'.$branch).'"'. + (is_null($branch) ? '' : ' '.__('in branch', 'linuxfoo-gitlab').' "'.$branch.'"'). (is_null($atts['since']) ? '' : ' since '.$atts['since'].' ago').'.'. ''. ''; @@ -107,7 +107,7 @@ class LinuxfooGitlab { $project_header. ''. sprintf(__('Last %d commits', 'linuxfoo-gitlab'), $commits_count). - (is_null($branch) ? '' : ' '.__('in branch', 'linuxfoo-gitlab').' "'.$branch).'"'. + (is_null($branch) ? '' : ' '.__('in branch', 'linuxfoo-gitlab').' "'.$branch.'"'). (is_null($atts['since']) ? '' : ' since '.$atts['since'].' ago').':'. ''. '