From fd1b89bace63296d0b0b017b752a7adcc067355d Mon Sep 17 00:00:00 2001 From: Parziphal Date: Wed, 13 Nov 2013 12:55:23 -0500 Subject: [PATCH] fixed Post::get_sample_width/height --- app/models/Post/FileMethods.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/Post/FileMethods.php b/app/models/Post/FileMethods.php index 1eee9aa..ecc4c47 100755 --- a/app/models/Post/FileMethods.php +++ b/app/models/Post/FileMethods.php @@ -648,12 +648,12 @@ trait PostFileMethods public function get_sample_width($user = null) { - $this->get_file_sample($user)['width']; + return $this->get_file_sample($user)['width']; } public function get_sample_height($user = null) { - $this->get_file_sample($user)['height']; + return $this->get_file_sample($user)['height']; } public function has_jpeg()