aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent/actions/archive.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-05 11:42:20 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-05 11:42:20 +0000
commita7297de5ba7f153deff11dfabf097f8abd3747fa (patch)
treec62abf7b09317acbc8a149109498b0a419cba963 /mod/reportedcontent/actions/archive.php
parentbc7aca9a544ff85d31fdd551562a193adb2c1831 (diff)
downloadelgg-a7297de5ba7f153deff11dfabf097f8abd3747fa.tar.gz
elgg-a7297de5ba7f153deff11dfabf097f8abd3747fa.tar.bz2
Closes #725: Typo corrected.
git-svn-id: https://code.elgg.org/elgg/trunk@3262 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/reportedcontent/actions/archive.php')
-rw-r--r--mod/reportedcontent/actions/archive.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/reportedcontent/actions/archive.php b/mod/reportedcontent/actions/archive.php
index 6f4a41226..770b4aa62 100644
--- a/mod/reportedcontent/actions/archive.php
+++ b/mod/reportedcontent/actions/archive.php
@@ -21,7 +21,7 @@
if ($reported->getSubtype() == "reported_content" && $reported->canEdit()) {
// change the state
- if (!trigger_plugin_hook('reportedcontent:archive', $entity->type, array('entity'=>$entity), true)) {
+ if (!trigger_plugin_hook('reportedcontent:archive', $reported->type, array('entity'=>$reported), true)) {
system_message(elgg_echo("reportedcontent:notarchived"));
forward("pg/reportedcontent/");
}