diff options
Diffstat (limited to '')
-rw-r--r-- | picture.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/picture.php b/picture.php index 6763ee881..bb5c79cab 100644 --- a/picture.php +++ b/picture.php @@ -172,6 +172,8 @@ function default_picture_content($content, $element_info) { if ($type==IMG_SQUARE || $type==IMG_THUMB) continue; + if (!array_key_exists($type, ImageStdParams::get_defined_type_map())) + continue; $url = $derivative->get_url(); if (isset($added[$url])) continue; |