From 081d64895b30e993e8aa415f39abcda4b1dad532 Mon Sep 17 00:00:00 2001 From: Ahmed Sajid Date: Thu, 28 Jul 2016 17:14:19 -0400 Subject: [PATCH] Removed newline from graph rrd_option This new line was causing Error Drawing Graph. Tested on Infoblox 7.3.4 --- html/includes/graphs/device/ib_dhcp_messages.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/html/includes/graphs/device/ib_dhcp_messages.inc.php b/html/includes/graphs/device/ib_dhcp_messages.inc.php index 246f579f00..01f2f45656 100644 --- a/html/includes/graphs/device/ib_dhcp_messages.inc.php +++ b/html/includes/graphs/device/ib_dhcp_messages.inc.php @@ -47,8 +47,7 @@ foreach ($stats as $stat => $color) { } // Set up Total value -$rrd_options .= " 'CDEF:cdeftotal=cdefrequest,cdefack,cdefdiscover,cdefoffer, - cdefinform,cdefnack,cdefrelease,cdefdecline,cdefother,+,+,+,+,+,+,+,+'"; +$rrd_options .= " 'CDEF:cdeftotal=cdefrequest,cdefack,cdefdiscover,cdefoffer,cdefinform,cdefnack,cdefrelease,cdefdecline,cdefother,+,+,+,+,+,+,+,+'"; $rrd_options .= " 'LINE1:cdeftotal#000000FF:Total'"; $filler = 8 - strlen("Total"); $current_pad = str_pad("", $filler, ' ', STR_PAD_LEFT);