forgot to add back max()

This commit is contained in:
pblasquez
2016-04-26 16:07:20 -07:00
parent 8e8315dbcd
commit 2c57979011
+1 -1
View File
@@ -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)));
}
}