From dfa7f535ab57f183d709a41e72dfd167d2c5bb0d Mon Sep 17 00:00:00 2001 From: Ian Date: Thu, 16 May 2013 17:31:12 +0200 Subject: [PATCH] upport 4db855d fixed curl result bug --- .../serendipity_event_spartacus.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php b/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php index 7affa673..5edf9924 100644 --- a/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php +++ b/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php @@ -28,7 +28,7 @@ class serendipity_event_spartacus extends serendipity_event $propbag->add('description', PLUGIN_EVENT_SPARTACUS_DESC); $propbag->add('stackable', false); $propbag->add('author', 'Garvin Hicking'); - $propbag->add('version', '2.29'); + $propbag->add('version', '2.30'); $propbag->add('requirements', array( 'serendipity' => '0.9', 'smarty' => '2.6.7', @@ -411,7 +411,7 @@ class serendipity_event_spartacus extends serendipity_event $curl_handle=curl_init(); curl_setopt($curl_handle, CURLOPT_URL, $url); curl_setopt($curl_handle, CURLOPT_HEADER, 0); - $data = curl_exec($curl_handle); + $curl_result = curl_exec($curl_handle); curl_close($curl_handle); if ($curl_result) { $check_health = false;