summaryrefslogtreecommitdiff
path: root/modules/index.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/index.module')
-rw-r--r--modules/index.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/index.module b/modules/index.module
index 0d06a7b22..673e00d69 100644
--- a/modules/index.module
+++ b/modules/index.module
@@ -1,7 +1,7 @@
<?php
-// entries => attributes
+// entries => attributess
function index_get_array($id) {
return db_fetch_array(db_query("SELECT * FROM entry WHERE eid = '". check_input($id) ."'"));
@@ -88,8 +88,8 @@ function index_test_2($edit) {
$value1 = field_merge($value1, $edit[$entry->collection]);
}
- foreach (explode(";", $value1) as $data) {
- $entry = explode(":", $data);
+ foreach (explode(",", $value1) as $data) {
+ $entry = explode("=", $data);
if ($entry[1]) $foo[] = "<A HREF=\"index.php?$entry[0]=". urlencode($entry[1]) ."\">$entry[1]</A>";
}