From d820f9a927f83bed57a90fab322530e26f118601 Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 14 Mar 2012 20:21:14 +0000 Subject: [PATCH] missed a global --- contrib/update/main.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/update/main.php b/contrib/update/main.php index e6a9c8a2..2b6a07d8 100644 --- a/contrib/update/main.php +++ b/contrib/update/main.php @@ -50,6 +50,8 @@ class Update extends Extension { } private function get_latest_commit() { + global $config; + if(!function_exists("curl_init")) return null; //Grab latest info via JSON.