fixed Post::get_sample_width/height

This commit is contained in:
Parziphal 2013-11-13 12:55:23 -05:00
parent 1ae6c3183b
commit fd1b89bace

View File

@ -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()