diff --git a/library/model/blog.category.php b/library/model/blog.category.php index 5f22cb190..d275120a5 100644 --- a/library/model/blog.category.php +++ b/library/model/blog.category.php @@ -728,4 +728,4 @@ function clearCategoryCache() { if(isset($__gCacheCategoryRaw)) $__gCacheCategoryRaw = array(); } -?> +?> \ No newline at end of file diff --git a/library/model/blog.entry.php b/library/model/blog.entry.php index 524089adb..2d9f3110b 100644 --- a/library/model/blog.entry.php +++ b/library/model/blog.entry.php @@ -1018,7 +1018,7 @@ function changeCategoryOfEntries($blogid, $entries, $category) { $effected = true; } - if($effected) { + if(updateEntriesOfCategory($blogid, $category)) { if ($effected) { clearFeed(); CacheControl::flushDBCache('comment');