Skip to content

Commit

Permalink
Stay compatible with Pfw_XH 0.2.0 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
cmb69 committed Dec 12, 2017
1 parent f80d878 commit 031cc37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/MainController.php
Expand Up @@ -51,7 +51,7 @@ private function prepareView($image)
if (!file_exists($js)) {
$js = "{$pth['folder']['plugins']}imgzoom/imgzoom.js";
}
return View::create('imgzoom')
return (new View('imgzoom'))
->template('viewer')
->data(compact('image', 'src', 'css', 'js'));
}
Expand Down

0 comments on commit 031cc37

Please sign in to comment.