From 82cf96fb78151732163485a6294539a57b30f462 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Tue, 24 May 2022 20:47:24 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/contact/agenda.php | 1 - 1 file changed, 1 deletion(-) diff --git a/htdocs/contact/agenda.php b/htdocs/contact/agenda.php index 28e6f7be9c0..98b6ccea3b1 100644 --- a/htdocs/contact/agenda.php +++ b/htdocs/contact/agenda.php @@ -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') {