Skip to content

Commit

Permalink
- Fixed bug #6625: Relation list cache not updated.
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/patrick.allaert/svn-git/ezp-repo/ezpublish/stable/3.5@11797 a01eee8c-daba-0310-acae-fa49f3023285
  • Loading branch information
Raymond Bosman committed May 12, 2005
1 parent 05fe0db commit 117f785
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/changelogs/3.5/CHANGELOG-3.5.2-to-3.5.3
Expand Up @@ -77,6 +77,7 @@ Attributes:
(Merged from stable/3.4 (3.4.7) rev. 11793)
- Fixed bug: Unused keywords are never deleted.
(Merged from stable/3.4 (3.4.7) rev. 11793)
- Fixed bug #6625: Relation list cache not updated.

*WebDAV:

Expand Down
5 changes: 4 additions & 1 deletion kernel/classes/ezcontentcachemanager.php
Expand Up @@ -127,7 +127,10 @@ function &fetchNodePathString( &$nodeList )
*/
function appendRelatingNodeIDs( &$object, &$nodeIDList )
{
$relatedObjects =& $object->contentObjectListRelatingThis();
$normalRelated =& $object->relatedContentObjectArray();
$reversedRelated =& $object->contentObjectListRelatingThis();

$relatedObjects = array_merge($normalRelated, $reversedRelated);
foreach ( array_keys( $relatedObjects ) as $relatedObjectKey )
{
$relatedObject =& $relatedObjects[$relatedObjectKey];
Expand Down

0 comments on commit 117f785

Please sign in to comment.