Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #019439: Section assignment in content edit doesn't clear cache

  • Loading branch information...
commit cf48dbe4ace63b838e873f5a11ac4cfa82cf7c06 1 parent 1556535
@patrickallaert patrickallaert authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  kernel/content/section_edit.php
View
1  kernel/content/section_edit.php
@@ -58,6 +58,7 @@ function sectionEditActionCheck( $module, $class, $object, $version, $contentObj
$db->query( "UPDATE ezcontentobject SET section_id='$selectedSectionID' WHERE id = '$objectID'" );
$db->query( "UPDATE ezsearch_object_word_link SET section_id='$selectedSectionID' WHERE contentobject_id = '$objectID'" );
}
+ eZContentCacheManager::clearContentCacheIfNeeded( $object->attribute( 'id' ) );
$object->expireAllViewCache();
$db->commit();
}
Please sign in to comment.
Something went wrong with that request. Please try again.