Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Commit

Permalink
channels now save their description
Browse files Browse the repository at this point in the history
git-svn-id: http://code.elgg.org@6374 36083f99-b078-4883-b0ff-0f9b5a30f544
  • Loading branch information
Dave Tosh committed Jun 7, 2010
1 parent 5ee506e commit e713d71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/edit.php
Expand Up @@ -31,7 +31,7 @@
// create a new "container" object.
$sac = new ElggObject();
$sac->title = $name;
$sac->description = $desc;
$sac->description = get_input('description');
$sac->subtype = 'shared_access';
// this has to be access_public.
$sac->access_id = ACCESS_PUBLIC;
Expand All @@ -42,7 +42,7 @@
add_entity_relationship(get_loggedin_user()->getGUID(), 'shared_access_member', $sac->getGUID());
} else {
$sac->title = $name;
$sac->description = $desc;
$sac->description = get_input('description');
$sac->save();
}

Expand Down

0 comments on commit e713d71

Please sign in to comment.