commit
c0d0fa317b
@ -51,9 +51,14 @@ $object = new Project($db);
|
||||
$extrafields = new ExtraFields($db);
|
||||
if ($id > 0 || ! empty($ref))
|
||||
{
|
||||
$object->fetch($id,$ref);
|
||||
$object->fetch_thirdparty();
|
||||
$id=$object->id;
|
||||
$ret = $object->fetch($id,$ref);
|
||||
if ($ret > 0) {
|
||||
$object->fetch_thirdparty();
|
||||
$id=$object->id;
|
||||
} else {
|
||||
setEventMessage($object->error, 'errors');
|
||||
$action='';
|
||||
}
|
||||
}
|
||||
|
||||
// Security check
|
||||
|
||||
Loading…
Reference in New Issue
Block a user