From 8ddbd7a6d024b3b25b5d43afc9ba36dd6254f9bb Mon Sep 17 00:00:00 2001 From: skodak Date: Thu, 30 Nov 2006 09:28:06 +0000 Subject: [PATCH] xhtml fix - misplaced tags --- lib/adminlib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/adminlib.php b/lib/adminlib.php index 700cae2b5f..115639dd42 100644 --- a/lib/adminlib.php +++ b/lib/adminlib.php @@ -2020,8 +2020,8 @@ class admin_setting_special_editorhidebuttons extends admin_setting { $count = 0; foreach($this->items as $key => $value) { - if ($count % 15 == 0) { - $return .= ''; + if ($count % 15 == 0 and $count != 0) { + $return .= ''; } $return .= ($value == '' ? get_string($key,'editor') : '' . get_string($key,'editor') . '') . ' '; -- 2.39.5