2
0
forked from Wavyzz/dolibarr

Minor fix

This commit is contained in:
Laurent Destailleur
2009-01-12 15:35:06 +00:00
parent 0977e479cc
commit 4e01c23974
7 changed files with 20 additions and 11 deletions

View File

@@ -309,6 +309,9 @@ class Task // extends CommonObject
global $conf, $langs;
$error=0;
// TODO. Refused if there is some child.
$sql = "DELETE FROM ".MAIN_DB_PREFIX."projet_task";
$sql.= " WHERE rowid=".$this->id;