aboutsummaryrefslogtreecommitdiff
path: root/views/json/search
diff options
context:
space:
mode:
Diffstat (limited to 'views/json/search')
-rw-r--r--views/json/search/entity_list.php30
1 files changed, 14 insertions, 16 deletions
diff --git a/views/json/search/entity_list.php b/views/json/search/entity_list.php
index 9ca58a8b8..a47bb37fc 100644
--- a/views/json/search/entity_list.php
+++ b/views/json/search/entity_list.php
@@ -1,18 +1,16 @@
<?php
+/**
+ * Elgg default layout
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ */
- /**
- * Elgg default layout
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
-
- $entities = $vars['entities'];
- if (is_array($entities) && sizeof($entities) > 0) {
- foreach($entities as $entity)
- echo elgg_view_entity($entity);
- }
-
-?> \ No newline at end of file
+$entities = $vars['entities'];
+if (is_array($entities) && sizeof($entities) > 0) {
+ foreach($entities as $entity) {
+ echo elgg_view_entity($entity);
+ }
+}