From 05746518fee817ab88b0fcd929430c4359f0f1a1 Mon Sep 17 00:00:00 2001 From: "J.M" Date: Wed, 18 Jun 2014 18:20:02 +0200 Subject: [PATCH] Fix CI warning about possibly undefined variable --- src/codebird.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/codebird.php b/src/codebird.php index 3eb032f..80232dd 100644 --- a/src/codebird.php +++ b/src/codebird.php @@ -1051,7 +1051,8 @@ protected function _callApi($httpmethod, $method, $params = array(), $multipart $params['application_id'] = 333903271; } - $url = $this->_getEndpoint($method); + $authorization = null; + $url = $this->_getEndpoint($method); $request_headers = array(); if ($httpmethod === 'GET') { $url_with_params = $url;