From bd2a75b617c1ee44db3f5d7040dd6f63e334f149 Mon Sep 17 00:00:00 2001 From: JustCarmen Date: Sun, 5 Jan 2014 12:42:50 +0100 Subject: [PATCH] Fix: W3C validation error - Row (n) of a row group established by a tbody element has no cells beginning on it. --- medialist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/medialist.php b/medialist.php index bde47bbd7b0..ca04d34c484 100644 --- a/medialist.php +++ b/medialist.php @@ -298,7 +298,7 @@ } echo ''; echo ''; - if ((++$n) % $columns == 0) { + if ((++$n) % $columns == 0 && $n < $count) { echo ''; } } // end media loop