summaryrefslogtreecommitdiff
path: root/modules/info
diff options
context:
space:
mode:
Diffstat (limited to 'modules/info')
-rw-r--r--modules/info/helpers/info_block.php2
-rw-r--r--modules/info/views/info_block.html.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/info/helpers/info_block.php b/modules/info/helpers/info_block.php
index 5841ec6f..9596bc41 100644
--- a/modules/info/helpers/info_block.php
+++ b/modules/info/helpers/info_block.php
@@ -71,7 +71,7 @@ class info_block_Core {
}
$block->content->metadata = $info;
- module::event("info_block_metadata", $block, $theme->item);
+ module::event("info_block_get_metadata", $block, $theme->item);
}
break;
}
diff --git a/modules/info/views/info_block.html.php b/modules/info/views/info_block.html.php
index 7c162767..b296fa1d 100644
--- a/modules/info/views/info_block.html.php
+++ b/modules/info/views/info_block.html.php
@@ -1,8 +1,8 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<ul class="g-metadata">
- <? foreach($metadata as $k => $v): ?>
+ <? foreach($metadata as $info): ?>
<li>
- <strong class="caption"><?= $v["label"] ?></strong> <?= $v["value"] ?>
+ <strong class="caption"><?= $info["label"] ?></strong> <?= $info["value"] ?>
</li>
<? endforeach; ?>
</ul>