1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-18 05:09:05 +01:00
This commit is contained in:
SecretR 2014-11-18 21:11:26 +02:00
parent 2d00fb190e
commit aebaa923a0

View File

@ -1968,7 +1968,7 @@ class e_parse extends e_parser
*/ */
public function thumbWidth($width=null) public function thumbWidth($width=null)
{ {
if($val !== null) if($height !== null)
{ {
$this->thumbWidth = intval($width); $this->thumbWidth = intval($width);
} }
@ -1986,7 +1986,7 @@ class e_parse extends e_parser
*/ */
public function thumbHeight($height= null) public function thumbHeight($height= null)
{ {
if($val !== null) if($height !== null)
{ {
$this->thumbHeight = intval($height); $this->thumbHeight = intval($height);
} }