From a31d5e8dc926962895d3bb2013f74f296e7206c0 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Wed, 24 Feb 2021 22:32:48 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/core/ajax/objectonoff.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/ajax/objectonoff.php b/htdocs/core/ajax/objectonoff.php index 64e5b7f024b..593f4fa4dbc 100644 --- a/htdocs/core/ajax/objectonoff.php +++ b/htdocs/core/ajax/objectonoff.php @@ -77,10 +77,10 @@ if (($action == 'set') && !empty($id)) { if ($tablename == 'websitepage') $tablename = 'website_page'; $format = 'int'; - + $object->table_element = $tablename; $object->id = $id; $object->fields[$field] = array('type' => $format, 'enabled' => 1); - + $object->setValueFrom($field, $value, $tablename, $id, $format, '', $user, $triggerkey); }