From c4ca2e7b9507c180bb6c4ac4830f6304f6696f08 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Fri, 26 Aug 2022 09:51:09 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/resource/contact.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/htdocs/resource/contact.php b/htdocs/resource/contact.php index 12ee8b6ff03..cf291cce28c 100644 --- a/htdocs/resource/contact.php +++ b/htdocs/resource/contact.php @@ -6,7 +6,7 @@ * Copyright (C) 2016 Gilles Poirier * */ - + /** * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -85,12 +85,10 @@ if ($action == 'addcontact' && $user->rights->resource->write) { setEventMessages($mesg, null, 'errors'); } } elseif ($action == 'swapstatut' && $user->rights->resource->write) { - -// Toggle the status of a contact + // Toggle the status of a contact $result = $object->swapContactStatus(GETPOST('ligne', 'int')); } elseif ($action == 'deletecontact' && $user->rights->resource->write) { - -// Erase a contact + // Erase a contact $result = $object->delete_contact(GETPOST('lineid', 'int')); if ($result >= 0) {