diff --git a/classes/ComicPressAdmin.inc b/classes/ComicPressAdmin.inc index 6046a0b..993e426 100644 --- a/classes/ComicPressAdmin.inc +++ b/classes/ComicPressAdmin.inc @@ -296,7 +296,7 @@ class ComicPressAdmin { if (isset($_POST['post_ID'])) { if (is_numeric($_POST['post_ID'])) { if ($post = get_post($_POST['post_ID'])) { - $comic_post = new ComicPressComicPost(&$post); + $comic_post = new ComicPressComicPost($post); $comic_post->change_comic_image_ordering($this->_json_decode(stripslashes($_POST['cp']['comic_order']))); } } @@ -389,4 +389,4 @@ class ComicPressAdmin { // @codeCoverageIgnoreEnd } -?> \ No newline at end of file +?>