From bd02143689a8d5cc96a6262eed3a8f9551e959f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come@opensides.be>
Date: Mon, 10 Apr 2017 10:16:19 +0200
Subject: [PATCH] Fixes errors in HTML code caused by last listing class
 modifications

---
 include/class_listing.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/class_listing.inc b/include/class_listing.inc
index 522515d7b..aabd57515 100644
--- a/include/class_listing.inc
+++ b/include/class_listing.inc
@@ -352,14 +352,14 @@ class listing
       $height = $this->height;
     }
 
-    $result .= '<div id="d_scrollbody" style="width:100%;"/>'."\n";
+    $result .= '<div id="d_scrollbody" style="width:100%;">'."\n";
     $result .= '<table style="width:100%;" id="t_scrolltable" class="listingTable">'."\n";
 
     // Build list header
     $result .= '<thead><tr>'."\n";
     if ($this->multiSelect) {
       $width = '24px';
-      $result .= '<th style="text-align:center;padding:0;width:'.$width.';"><input type="checkbox" id="select_all" name="select_all" title="'._('Select all').'" onClick=\'toggle_all_(\"listing_selected_[0-9]*$\",\"select_all\");\' ></th>'."\n";
+      $result .= '<th style="text-align:center;padding:0;width:'.$width.';"><input type="checkbox" id="select_all" name="select_all" title="'._('Select all').'" onClick=\'toggle_all_("listing_selected_[0-9]*$","select_all");\' /></th>'."\n";
     }
     foreach ($this->header as $header) {
       $result .= $header;
-- 
GitLab