Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf605603

Browse files
committed
Fixed an issue with error displays.
1 parent1f2a715 commitf605603

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎Zencoder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ class ZencoderJob {
2121

2222
var$new_job_url ="https://app.zencoder.com/api/jobs";
2323
var$new_job_params =array();
24-
var$new_job_json;
2524
var$created =false;
2625
var$errors =array();
2726

@@ -37,7 +36,8 @@ function ZencoderJob($params, $options = array()) {
3736
$this->update_attributes($params);
3837
returntrue;
3938
}
40-
39+
40+
if($options["url"])$this->new_job_url =$options["url"];
4141
$this->new_job_params =$params;
4242
$this->created =$this->create();
4343
}
@@ -153,7 +153,7 @@ function ZencoderRequest($url, $api_key = "", $params = "") {
153153
$this->errors[] =$error;
154154
}
155155
}else {
156-
$this->errors[] ="Unknown Error\n\nHTTP Status Code:".$request->status_code."\n"."Raw Results:\n".$request->raw_results;
156+
$this->errors[] ="Unknown Error\n\nHTTP Status Code:".$request->status_code."\n"."Raw Results:\n".$this->raw_results;
157157
}
158158
}
159159
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp