Commit 739330e7 authored by Sigrid Suski's avatar Sigrid Suski

Exception when roting images fixed

parent 05b92ff5
......@@ -142,8 +142,7 @@ class Image extends File
public function & rotate( $angle )
{
$this->createEditor();
$this->editor->rotate( $image, $angle );
$this->editor->rotate( $this->image, $angle );
return $this;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment