Skip to content

Commit

Permalink
Minor log fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wanchai committed Mar 17, 2016
1 parent d5521f1 commit 9a79031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftpbucket/BBjson.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function load_datas()
$data = curl_exec($ch);

if (!$data) {
$this->error('Cant\'t get lists of files! cURL error: '.curl_error($cu));
$this->error('Cant\'t get lists of files! cURL error: '.curl_error($ch));
} else {
//$this->log_it('List of files: '.print_r(json_decode($data, true), true));
$arr = json_decode($data, true);
Expand Down

0 comments on commit 9a79031

Please sign in to comment.