mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 00:53:00 +01:00
Merge pull request #18532 from defrance/patch-172
Clean code (line in double)
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
* Copyright (C) 2015 Juanjo Menent <jmenent@2byte.es>
|
||||
* Copyright (C) 2017 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||
* Copyright (C) 2018-2020 Frédéric France <frederic.france@netlogic.fr>
|
||||
* Copyright (C) 2021 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
|
||||
@@ -291,8 +292,6 @@ if (empty($reshook)) {
|
||||
|
||||
$paiement->num_payment = GETPOST('num_paiement', 'alphanohtml');
|
||||
$paiement->note_private = GETPOST('comment', 'alpha');
|
||||
$paiement->num_payment = $paiement->num_payment;
|
||||
$paiement->note_private = $paiement->note_private;
|
||||
|
||||
if (!$error) {
|
||||
$paiement_id = $paiement->create($user, (GETPOST('closepaidinvoices') == 'on' ? 1 : 0), $thirdparty);
|
||||
|
||||
Reference in New Issue
Block a user