aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/friends/collectionfields.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/forms/friends/collectionfields.php')
-rw-r--r--views/default/forms/friends/collectionfields.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/views/default/forms/friends/collectionfields.php b/views/default/forms/friends/collectionfields.php
new file mode 100644
index 000000000..35db3a962
--- /dev/null
+++ b/views/default/forms/friends/collectionfields.php
@@ -0,0 +1,15 @@
+<?php
+/**
+ * Elgg friend collections required hidden fields for js friends picker form
+ *
+ * @package Elgg
+ * @subpackage Core
+ */
+
+if (isset($vars['collection'])) {
+?>
+
+ <input type="hidden" name="collection_id" value="<?php echo $vars['collection']->id; ?>" />
+
+<?php
+} \ No newline at end of file