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:
@ -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;
|
||||
|
Reference in New Issue
Block a user