aboutsummaryrefslogtreecommitdiff
path: root/mod/tasklist
diff options
context:
space:
mode:
Diffstat (limited to 'mod/tasklist')
-rw-r--r--mod/tasklist/start.php5
-rw-r--r--mod/tasklist/views/default/tasklist/newtask.php1
2 files changed, 2 insertions, 4 deletions
diff --git a/mod/tasklist/start.php b/mod/tasklist/start.php
index ab263136d..6b3ae4880 100644
--- a/mod/tasklist/start.php
+++ b/mod/tasklist/start.php
@@ -29,7 +29,7 @@
// Task
$task = $entity->getMetaData("task");
-print_r($task);
+
// Render the item
return elgg_view("tasklist/item", array(
"owner_id" => $entity->owner_guid,
@@ -63,8 +63,7 @@ print_r($task);
function tasklist_draw_newtask_form($ownerid)
{
return elgg_view("tasklist/newtask", array(
- "owner_id" => $ownerid,
- "guid" => $entity->guid
+ "owner_id" => $ownerid
));
}
diff --git a/mod/tasklist/views/default/tasklist/newtask.php b/mod/tasklist/views/default/tasklist/newtask.php
index 3659cda84..3cf48aaf2 100644
--- a/mod/tasklist/views/default/tasklist/newtask.php
+++ b/mod/tasklist/views/default/tasklist/newtask.php
@@ -2,7 +2,6 @@
<textarea name="task"></textarea>
<input type="text" name="tags" />
<input type="hidden" name="action" value="newtask"/>
- <input type="hidden" name="guid" value="<?php echo $vars['guid']; ?>"/>
<input type="hidden" name="owner_id" value="<?php echo $vars['owner_id']; ?>"/>
<input type="submit" name="submit" />
</form> \ No newline at end of file