From 9dc9e5956ed5c6979f39b8f36e6c7ce8c3efe8ba Mon Sep 17 00:00:00 2001 From: Maxime Bourget Date: Tue, 7 May 2013 13:41:44 +0100 Subject: [PATCH] Add - separator between comments in tooltip. --- includes/order_lines.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/order_lines.inc b/includes/order_lines.inc index cd0f860..5102966 100644 --- a/includes/order_lines.inc +++ b/includes/order_lines.inc @@ -86,7 +86,7 @@ function customer_link($row) { } function aggregate_comment($row) { - $comment = $row['order_comment'].$row['detail_comment']; + $comment = $row['order_comment'].";".$row['detail_comment']; if($comment) { $comments = array_map('trim', explode(';', $comment)); $comments = array_filter($comments); @@ -94,7 +94,7 @@ function aggregate_comment($row) { if(count($comments) == 0) return $first; else { - $tooltip = implode('
', $comments); + $tooltip = implode('
- ', $comments); return "$first more $tooltip"; } } -- 2.30.2