diff options
author | Jerome Bakker <jeabakker@coldtrick.com> | 2012-10-03 14:11:41 +0200 |
---|---|---|
committer | Jerome Bakker <jeabakker@coldtrick.com> | 2012-10-03 14:11:41 +0200 |
commit | e33d1eba6a158699174de2747de6d6e654c03407 (patch) | |
tree | e2b7129e3140238b13922552247eaa57f3639e89 /mod/reportedcontent | |
parent | 949a3f0c2ea1804577ff69d92f811ced71a79976 (diff) | |
download | elgg-e33d1eba6a158699174de2747de6d6e654c03407.tar.gz elgg-e33d1eba6a158699174de2747de6d6e654c03407.tar.bz2 |
correct singual usage of subtype in elgg_get_entities_* functions
Diffstat (limited to 'mod/reportedcontent')
-rw-r--r-- | mod/reportedcontent/views/default/admin/administer_utilities/reportedcontent.php | 2 | ||||
-rw-r--r-- | mod/reportedcontent/views/default/widgets/reportedcontent/content.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/reportedcontent/views/default/admin/administer_utilities/reportedcontent.php b/mod/reportedcontent/views/default/admin/administer_utilities/reportedcontent.php index c37761f32..ed52a536d 100644 --- a/mod/reportedcontent/views/default/admin/administer_utilities/reportedcontent.php +++ b/mod/reportedcontent/views/default/admin/administer_utilities/reportedcontent.php @@ -5,7 +5,7 @@ * @package ElggReportedContent */ -$list = elgg_list_entities(array('type' => 'object', 'subtypes' => 'reported_content')); +$list = elgg_list_entities(array('type' => 'object', 'subtype' => 'reported_content')); if (!$list) { $list = '<p class="mtm">' . elgg_echo('reportedcontent:none') . '</p>'; } diff --git a/mod/reportedcontent/views/default/widgets/reportedcontent/content.php b/mod/reportedcontent/views/default/widgets/reportedcontent/content.php index d6af8e87b..0095decca 100644 --- a/mod/reportedcontent/views/default/widgets/reportedcontent/content.php +++ b/mod/reportedcontent/views/default/widgets/reportedcontent/content.php @@ -5,7 +5,7 @@ $list = elgg_list_entities(array( 'type' => 'object', - 'subtypes' => 'reported_content', + 'subtype' => 'reported_content', 'limit' => $vars['entity']->num_display, 'pagination' => false, )); |