Commit b2ab427b authored by webchick's avatar webchick

Issue #2081167 by smiro: Remove Unused local variable from...

Issue #2081167 by smiro: Remove Unused local variable  from /core/modules/block/custom_block/lib/Drupal/custom_block/CustomBlockStorageController.php.
parent 72e7cb95
......@@ -25,7 +25,7 @@ protected function attachLoad(&$blocks, $load_revision = FALSE) {
// Create an array of block types for passing as a load argument.
// Note that blocks at this point are still \StdClass objects returned from
// the database.
foreach ($blocks as $id => $entity) {
foreach ($blocks as $entity) {
$types[$entity->type] = $entity->type;
}
......
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