From fd191877cd2dbc053d784e80976d607a2cfdab7b Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Mon, 5 Jun 2017 16:48:19 +0900 Subject: [PATCH] Fix for not showing progress bar with single progress bar --- www/libs/Class.Progressbar.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/libs/Class.Progressbar.inc b/www/libs/Class.Progressbar.inc index 67029c99..6b20a971 100644 --- a/www/libs/Class.Progressbar.inc +++ b/www/libs/Class.Progressbar.inc @@ -77,6 +77,8 @@ class ProgressBar $this->width = $width; if ($height > 0) $this->height = $height; + // needs to be called twice or I do not get any output + $this->_flushCache($this->clear_buffer_size_init); $this->_flushCache($this->clear_buffer_size_init); }