From f1cb34a17aaa39d948420bfee677aa22167eaa16 Mon Sep 17 00:00:00 2001 From: sam marshall Date: Tue, 6 Aug 2013 17:35:25 +0100 Subject: [PATCH] MDL-41050 Progress bar: Width parameter does not work --- lib/weblib.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index c12854e3d7b..141088b1c01 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -2934,11 +2934,12 @@ class progress_bar { if (CLI_SCRIPT) { return; // temporary solution for cli scripts } + $widthplusborder = $this->width + 2; $htmlcode = << +

-
+