diff options
Diffstat (limited to 'mod/blog/actions')
-rw-r--r-- | mod/blog/actions/blog/auto_save_revision.php | 2 | ||||
-rw-r--r-- | mod/blog/actions/blog/save.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mod/blog/actions/blog/auto_save_revision.php b/mod/blog/actions/blog/auto_save_revision.php index 520d57531..ce35c1295 100644 --- a/mod/blog/actions/blog/auto_save_revision.php +++ b/mod/blog/actions/blog/auto_save_revision.php @@ -41,7 +41,7 @@ if ($title && $description) { $blog->access_id = ACCESS_PRIVATE; $blog->title = $title; $blog->description = $description; - $blog->excerpt = blog_make_excerpt($excerpt); + $blog->excerpt = elgg_make_excerpt($excerpt); // must be present or doesn't show up when metadata sorting. $blog->publish_date = time(); if (!$blog->save()) { diff --git a/mod/blog/actions/blog/save.php b/mod/blog/actions/blog/save.php index 0e8a696b9..138c32bda 100644 --- a/mod/blog/actions/blog/save.php +++ b/mod/blog/actions/blog/save.php @@ -78,9 +78,9 @@ foreach ($values as $name => $default) { case 'excerpt': if ($value) { - $value = blog_make_excerpt($value); + $value = elgg_make_excerpt($value); } else { - $value = blog_make_excerpt($values['description']); + $value = elgg_make_excerpt($values['description']); } $values[$name] = $value; break; |