Merge pull request #542 from annando/master

Some minor changes to "vier"
This commit is contained in:
tobiasd 2012-12-02 23:49:06 -08:00
commit 23c873fc51
2 changed files with 7 additions and 2 deletions

View file

@ -99,7 +99,7 @@ if(! function_exists('post_url')) {
function post_url($url,$params, $headers = null, &$redirects = 0, $timeout = 0) {
$a = get_app();
$ch = curl_init($url);
if(($redirects > 8) || (! $ch))
if(($redirects > 8) || (! $ch))
return false;
curl_setopt($ch, CURLOPT_HEADER, true);