aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-02 10:41:35 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-02 10:41:35 +0000
commit7408dbeeec631ee12705f76dab799b59c3c8914a (patch)
tree11941b10d8254d46945974dd930d646d01dad626
parent132e9c18ecd10ada97d4bb2b7dfaf63404f540bd (diff)
downloadelgg-7408dbeeec631ee12705f76dab799b59c3c8914a.tar.gz
elgg-7408dbeeec631ee12705f76dab799b59c3c8914a.tar.bz2
git-svn-id: https://code.elgg.org/elgg/trunk@338 36083f99-b078-4883-b0ff-0f9b5a30f544
-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