Commit 9460d7b0 authored by profix898's avatar profix898

- bugfix: assignable blocktype isn't saving (#260455 by alex4u2nv)

parent cb0a859a
......@@ -363,12 +363,12 @@ function _gallery_block_admin_update($form, &$form_state) {
* Function _gallery_block_admin_save().
*/
function _gallery_block_admin_save(&$values) {
$element = $values['element'];
// Save imageblock values (if present)
if (isset($values['imageblock'])) {
_gallery_block_admin_imageblock_save($values);
}
// Save variables
$element = $values['element'];
unset($values['element']);
foreach ($values as $key => $value) {
$pos = strpos($key, $element);
......
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