main
Thomas Chazot 2 years ago
parent 0bee2dcc22
commit 4f7ef62237

@ -50,6 +50,7 @@
<input type="submit" value="Submit"/>
<input type="hidden" name='task' value="<?=$dataView->getId()?>"/>
<inp
<input type="hidden" name="action" value="modifyTask"/>
</form>

@ -243,10 +243,16 @@ class VisitorController {
$completed=true;
}
$model = new MdlTache();
$tache=$model->findById($_POST['task']);
$model->update($tache, $name, $content, $completed);
$_REQUEST['action']="goHome";
$this->Reinit();
/*
$model->update($tache, $name, $content, $completed);
$_REQUEST['action']="accessListInfos";
$this->accessListInfos($dVueEreur);
*/
$dVueEreur= array();
}
}

Loading…
Cancel
Save