cleared test modif on core

This commit is contained in:
Dorian Vabre 2021-04-26 14:29:28 +02:00
parent 1b4b93bc6a
commit dd9c42876a

View File

@ -9156,7 +9156,6 @@ abstract class CommonObject
if ($c->fetch($add) > 0) {
$result = $c->add_type($this, $type_categ);
if ($result < 0) {
var_dump($result);
$error++;
$this->error = $c->error;
$this->errors = $c->errors;
@ -9166,6 +9165,7 @@ abstract class CommonObject
}
}
}
return $error ? -1 * $error : $ok;
}