From: skodak Date: Thu, 30 Nov 2006 09:28:06 +0000 (+0000) Subject: xhtml fix - misplaced tags X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8ddbd7a6d024b3b25b5d43afc9ba36dd6254f9bb;p=moodle.git xhtml fix - misplaced tags --- 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') . '') . ' ';