aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent/actions/add.php
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-15 12:32:29 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-15 12:32:29 +0000
commitbe55e9428629a17b28e1c03b60640db2b556d49d (patch)
treec291650887c93236d7275eb04c3eef2c5cfcffa2 /mod/reportedcontent/actions/add.php
parenta25b09af5f68978f2616f71d1ab821c5abafdc8a (diff)
downloadelgg-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.php1
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'));