]> git.mjollnir.org Git - s9y.git/commitdiff
Fix a bug that prevented some entryproperty-plugins to execute on the entry detail...
authorgarvinhicking <garvinhicking>
Fri, 12 Jan 2007 08:23:09 +0000 (08:23 +0000)
committergarvinhicking <garvinhicking>
Fri, 12 Jan 2007 08:23:09 +0000 (08:23 +0000)
docs/NEWS
include/functions_entries.inc.php

index b44dabbc3faadb7eb2709629f8d0673321a1f40c..6b56a46d03134c921767577d685eb72908f417b8 100644 (file)
--- a/docs/NEWS
+++ b/docs/NEWS
@@ -3,6 +3,9 @@
 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!
           
index 5911b2e63233c11ed3a970a4c4d002f50a592f58..ee62d7d1a6bc066596b652be17ee3a82c5edfe91 100644 (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;