Commit 5c46f50b authored by sylvieg's avatar sylvieg

notice

parent 1816cfbe
......@@ -363,7 +363,7 @@ class ImageGalsLib extends TikiLib
case 'image/jpeg':
case 'image/pjpeg':
case 'image/jpg':
return ($this->gdinfo["JPG Support"] || $this->gdinfo["JPEG Support"]);
return ((isset($this->gdinfo['JPG Support']) && $this->gdinfo['JPG Support']) || (isset($this->gdinfo['JPEG Support']) && $this->gdinfo['JPEG Support']) );
break;
case 'png':
case 'image/png':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment