mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-04 14:11:01 -04:00
Pass the whole item, not just it's ID, to the info_block_metadata event.
This commit is contained in:
@@ -69,7 +69,7 @@ class info_block_Core {
|
||||
}
|
||||
$block->content->metadata = $info;
|
||||
|
||||
module::event("info_block_metadata", $block, $theme->item->id);
|
||||
module::event("info_block_metadata", $block, $theme->item);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user