Closed (fixed)
Project:
Gallery
Version:
5.x-2.0-beta5
Component:
Blocks (Image-/Grid-)
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
3 Nov 2007 at 00:04 UTC
Updated:
17 Nov 2007 at 00:21 UTC
The image types array is not being saved properly. When an image block is edited, the value of the image types is reset to NULL so it disappears.
After a bit of digging I found the offending line:
Line 586
in 'function _gallery_settings_block_save()'
$value = array_keys(array_filter($value));
Should be
$value = array_values(array_filter($value));
Thanks for a great module, keep up the good work.
Comments
Comment #1
profix898 commentedBugfix committed. Thanks.
Comment #2
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.