From eeaf9aabaaa9b9d37a33d33d06bda67bb15298fa Mon Sep 17 00:00:00 2001 From: Jimmy Conner Date: Fri, 12 Dec 2014 04:12:18 +0000 Subject: [PATCH] Fix for undefined function boost_fetch_cache_check git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7560 860744bd-22fc-0310-8c96-e9fe5004b5ca --- lib/rrd.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/rrd.php b/lib/rrd.php index 198de0a9af..0ada9fcb5f 100644 --- a/lib/rrd.php +++ b/lib/rrd.php @@ -431,7 +431,9 @@ $rrd_fetch_cache = array(); by each data source item. the maximum of all data source items is included in an item called 'ninety_fifth_percentile_maximum' */ function rrdtool_function_fetch($local_data_id, $start_time, $end_time, $resolution = 0, $show_unknown = false, $rrdtool_file = null) { - global $rrd_fetch_cache; + global $rrd_fetch_cache, $config; + + include_once($config["library_path"] . "/boost.php"); /* validate local data id */ if (empty($local_data_id) && is_null($rrdtool_file)) {