1
0

Fix a bug that prevented some entryproperty-plugins to execute on the entry detail pane. Thanks to dragonblast from the forums

This commit is contained in:
Garvin Hicking
2007-01-12 08:23:00 +00:00
parent e2b57b18fe
commit 93ac1d9107
2 changed files with 7 additions and 0 deletions

View File

@ -514,6 +514,10 @@ function &serendipity_fetchEntry($key, $val, $full = true, $fetchDrafts = 'false
if (is_array($ret)) {
$ret['categories'] =& serendipity_fetchEntryCategories($ret['id']);
$ret['properties'] =& serendipity_fetchEntryProperties($ret['id']);
$stack = array();
$stack[0] = &$ret;
$assoc_ids = array($ret['id'] => 0);
serendipity_plugin_api::hook_event('frontend_entryproperties', $stack, $assoc_ids);
}
return $ret;