From 85309a3dc9301cef098c822cfe9eefc747ce9ba9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 18 Sep 2024 15:56:59 +0200 Subject: [PATCH] Debug update spammer flag --- backoffice/instance_links.php | 2 +- class/actions_sellyoursaas.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backoffice/instance_links.php b/backoffice/instance_links.php index fbee9787..225ed5f5 100644 --- a/backoffice/instance_links.php +++ b/backoffice/instance_links.php @@ -154,7 +154,7 @@ if (!$error) { $tmpcontract->fetch_thirdparty(); $tmpcontract->thirdparty->array_options['options_spammer'] = 1; - $tmpcontract->update($user, 1); + $tmpcontract->thirdparty->update($user, 1); } if (!$error) { diff --git a/class/actions_sellyoursaas.class.php b/class/actions_sellyoursaas.class.php index 41fcb2cc..4bd632c2 100644 --- a/class/actions_sellyoursaas.class.php +++ b/class/actions_sellyoursaas.class.php @@ -904,7 +904,7 @@ public function doMassActions($parameters, &$object, &$action) if (!$error) { $tmpcontract->fetch_thirdparty(); $tmpcontract->thirdparty->array_options['options_spammer'] = 1; - $tmpcontract->update($user, 1); + $tmpcontract->thirdparty->update($user, 1); } if (!$error) {