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 5b55ba0939
commit f22bc257b6
2 changed files with 7 additions and 0 deletions

View File

@ -20,6 +20,9 @@ Version 1.2 ()
Version 1.1.1 ()
------------------------------------------------------------------------
* Fixed a bug that prevented some entryproperty-plugins to execute
on the entry detail pane. (garvinhicking, Dragonblast)
* Fix a bug in sending the right login session cookies on Windows IIS
servers. Major thanks to Shadowin from the forums!

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;