2
0
forked from Wavyzz/dolibarr

fix : warning during install

This commit is contained in:
Grand Philippe
2013-08-24 11:34:34 +02:00
parent fd759ade76
commit 71a9e148b3
2 changed files with 13 additions and 14 deletions

View File

@@ -3223,5 +3223,4 @@ abstract class CommonObject
print '</table>';
}
}
?>
?>

View File

@@ -137,9 +137,9 @@ class InterfaceMailmanSpipsynchro
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
}
elseif ($action == 'CATEGORY_LINK')
{
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
elseif ($action == 'CATEGORY_LINK')
{
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
// We add subscription if new email or new type (new type may means more mailing-list to subscribe)
if ($object->linkto->add_to_abo() < 0)
@@ -153,12 +153,12 @@ class InterfaceMailmanSpipsynchro
$return=1;
}
return $return;
}
elseif ($action == 'CATEGORY_UNLINK')
{
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
return $return;
}
elseif ($action == 'CATEGORY_UNLINK')
{
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
if ($object->unlinkoff->del_to_abo() < 0)
{
$this->error=$object->unlinkoff->error;
@@ -169,9 +169,9 @@ class InterfaceMailmanSpipsynchro
{
$return=1;
}
return $return;
}
return $return;
}
// Members
elseif ($action == 'MEMBER_VALIDATE' || $action == 'MEMBER_MODIFY')