Fixing style errors.

This commit is contained in:
stickler-ci 2022-05-24 20:47:24 +00:00
parent 9ebfd30dcc
commit 82cf96fb78

View File

@ -253,7 +253,6 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
$out = '';
$newcardbutton = '';
if (!empty($conf->agenda->enabled)) {
$permok = $user->rights->agenda->myactions->create;
if ((!empty($objthirdparty->id) || !empty($objcon->id)) && $permok) {
if (is_object($objthirdparty) && get_class($objthirdparty) == 'Societe') {