From 930a9ce69e38cf68881a7bb85f1d4bd70117ae68 Mon Sep 17 00:00:00 2001 From: Jimmy Berry Date: Tue, 30 Aug 2011 23:26:08 -0500 Subject: Patch #587742: Use protocol relative Google Chart API URL. --- chart.module | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chart.module b/chart.module index db85def..2e6da2d 100644 --- a/chart.module +++ b/chart.module @@ -11,7 +11,7 @@ /* * Misc */ -define('CHART_URI', 'http://chart.googleapis.com/chart'); +define('CHART_URI', '//chart.googleapis.com/chart'); /* * Chart types. @@ -149,7 +149,7 @@ function theme_chart($variables) { */ function chart_url($chart) { if ($data = chart_build($chart)) { - return url(CHART_URI, array('query' => $data)); + return url(CHART_URI, array('query' => $data, 'external' => TRUE)); } return FALSE; } -- 1.7.6.1