cleared test modif on core
This commit is contained in:
parent
1b4b93bc6a
commit
dd9c42876a
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user