Skip to content

Commit

Permalink
fix(pages): allow saving with an empty description
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalsem committed May 16, 2022
1 parent 7f72d18 commit 3001a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/pages/actions/pages/edit.php
Expand Up @@ -99,7 +99,7 @@
elgg_clear_sticky_form('page');

// Now save description as an annotation
$page->annotate('page', $page->description, $page->access_id);
$page->annotate('page', $page->description ?? '', $page->access_id);

if ($new_page) {
elgg_create_river_item([
Expand Down

0 comments on commit 3001a30

Please sign in to comment.