From 89048ca52e5316eb511597aadb8d0ebba14439a8 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Fri, 28 Feb 2020 14:49:10 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/core/actions_addupdatedelete.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/actions_addupdatedelete.inc.php b/htdocs/core/actions_addupdatedelete.inc.php index 18ecc3db457..447c3c5e92f 100644 --- a/htdocs/core/actions_addupdatedelete.inc.php +++ b/htdocs/core/actions_addupdatedelete.inc.php @@ -130,8 +130,8 @@ if ($action == 'update' && !empty($permissiontoadd)) } elseif ($object->fields[$key]['type'] == 'boolean') { if (!GETPOSTISSET($key)) { - $object->$key = 0; // use 0 instead null if the field is defined as not null - continue; + $object->$key = 0; // use 0 instead null if the field is defined as not null + continue; } }