Skip to content

Commit

Permalink
FIX : no more needed with client/prospect checkbox feature
Browse files Browse the repository at this point in the history
otherwise, the preselect is only customer checked (event on create prospect...)
  • Loading branch information
defrance authored Dec 26, 2024
1 parent 4e4bdb8 commit 3b66d43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/societe/card.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* Copyright (C) 2023 Nick Fragoulis
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.com>
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
* Copyright (C) 2024 Charlene Benke <charlene@patas-monkey.com>
*
* 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
Expand Down Expand Up @@ -1071,7 +1072,7 @@
$object->firstname = GETPOST('firstname', 'alphanohtml');
$object->particulier = $private;
$object->prefix_comm = GETPOST('prefix_comm', 'alphanohtml');
$object->client = GETPOSTINT('client') ? GETPOSTINT('client') : $object->client;
//$object->client = GETPOSTINT('client') ? GETPOSTINT('client') : $object->client;

if (empty($duplicate_code_error)) {
$object->code_client = GETPOST('customer_code', 'alpha');
Expand Down

0 comments on commit 3b66d43

Please sign in to comment.