Skip to content

Notice in Zencoder::update_attributes() #5

@jorrit

Description

@jorrit

The following line appears in update_attributes():

} elseif (!function_exists($this->$attr_name)) {

I think the goal of this statement is to check if there is a method named $attr_name on $this. This should be written as:

} elseif (!method_exists($this, $attr_name)) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions