From 2c57979011e0d800430e119edb3ae6bb39c4fe11 Mon Sep 17 00:00:00 2001 From: pblasquez Date: Tue, 26 Apr 2016 16:07:20 -0700 Subject: [PATCH] forgot to add back max() --- html/pages/graphs.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/pages/graphs.inc.php b/html/pages/graphs.inc.php index 48cf6a31e..2e6e33b29 100644 --- a/html/pages/graphs.inc.php +++ b/html/pages/graphs.inc.php @@ -125,7 +125,7 @@ else { $graph_array['height'] = ($_SESSION['screen_height'] - ($_SESSION['screen_height']/2)); } else { - $graph_array['height'] = ($_SESSION['screen_height'] - ($_SESSION['screen_height']/1.5)); + $graph_array['height'] = max($graph_array['height'],($_SESSION['screen_height'] - ($_SESSION['screen_height']/1.5))); } }