Skip to content

Commit 88995d3

Browse files
author
Jim Puls
committed
This function_exists should be a method_exists
1 parent 0a13522 commit 88995d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zencoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function update_attributes($attributes = array()) {
6262
// Create output file objects
6363
if($attr_name == "outputs" && is_array($attr_value)) {
6464
$this->create_outputs($attr_value);
65-
} elseif (!function_exists($this->$attr_name)) {
65+
} elseif (!method_exists($this, $attr_name)) {
6666
$this->$attr_name = $attr_value;
6767
}
6868
}

0 commit comments

Comments
 (0)