diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-15 12:32:29 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-15 12:32:29 +0000 |
commit | be55e9428629a17b28e1c03b60640db2b556d49d (patch) | |
tree | c291650887c93236d7275eb04c3eef2c5cfcffa2 /mod/reportedcontent/actions/add.php | |
parent | a25b09af5f68978f2616f71d1ab821c5abafdc8a (diff) | |
download | elgg-be55e9428629a17b28e1c03b60640db2b556d49d.tar.gz elgg-be55e9428629a17b28e1c03b60640db2b556d49d.tar.bz2 |
reported content updated
git-svn-id: https://code.elgg.org/elgg/trunk@1934 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/reportedcontent/actions/add.php')
-rw-r--r-- | mod/reportedcontent/actions/add.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/reportedcontent/actions/add.php b/mod/reportedcontent/actions/add.php index bfb5fcfb3..c37cae466 100644 --- a/mod/reportedcontent/actions/add.php +++ b/mod/reportedcontent/actions/add.php @@ -27,6 +27,7 @@ if ($entity->save()) {
system_message(elgg_echo('reportedcontent:success'));
+ $entity->state = "active";
forward($address);
} else {
register_error(elgg_echo('reportedcontent:failed'));
|