Commit a83ba750 authored by Anthony Geourjon's avatar Anthony Geourjon

Deliverable deaddline can be update now

parent 3a9540ac
Pipeline #30430 passed with stage
in 5 minutes and 40 seconds
......@@ -91,6 +91,11 @@ Class Deliverable{
$field = $fields[0];
// General component and deliverable don't have exactly the same name of field
$generalFields = array("label", "description", "deadline", "target");
if (in_array($field, $generalFields)) {
......@@ -376,7 +381,7 @@ Class Deliverable{
return Utils::appendError(400227,"Inserting url in files crashed");
db_functions::Update("*%%files", array("rights"=>"deliv"), array("id"=>$fileId));
//if (!File::_isFileOwner($fileId, $userId)) return false;
$deliverable=db_functions::Select("*%%deliverables", array("target"), array("deliverableId"=>$deliverableId));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment