Skip to content
Snippets Groups Projects
Commit 5ec38d89 authored by Marcos García de La Fuente's avatar Marcos García de La Fuente
Browse files

Fixed [ bug #1763 ] Undefined variable $interface in Project:574

parent f60d7ea2
No related branches found
No related tags found
No related merge requests found
......@@ -568,16 +568,9 @@ class Project extends CommonObject
{
// Call trigger
$result=$this->call_trigger('PROJECT_DELETE',$user);
if ($result < 0)
{
if ($result < 0) {
$error++;
if (! empty($interface->errors))
{
foreach ($interface->errors as $errmsg ) {
dol_syslog(get_class($this) . "::delete " . $errmsg, LOG_ERR);
$this->errors[] =$errmsg;
}
}
}
// End call triggers
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment