mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
clean code (#34979)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
|
||||
* Copyright (C) 2015-2016 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||
* Copyright (C) 2018-2019 Thibault FOUCART <support@ptibogxiv.net>
|
||||
* Copyright (C) 2018-2024 Frédéric France <frederic.france@free.fr>
|
||||
* Copyright (C) 2018-2025 Frédéric France <frederic.france@free.fr>
|
||||
* Copyright (C) 2025 MDW <mdeweerd@users.noreply.github.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@@ -265,7 +265,7 @@ if (empty($reshook)) {
|
||||
$object->lastname = (string) GETPOST("lastname", 'alpha');
|
||||
$object->societe = (string) GETPOST("societe", 'alpha');
|
||||
$object->address = (string) GETPOST("address", 'alpha');
|
||||
$object->amount = price2num(GETPOST("amount", 'alpha'), '', 2);
|
||||
$object->amount = (float) price2num(GETPOST("amount", 'alpha'), '', 2);
|
||||
$object->zip = (string) GETPOST("zipcode", 'alpha');
|
||||
$object->town = (string) GETPOST("town", 'alpha');
|
||||
$object->country_id = GETPOSTINT('country_id');
|
||||
|
||||
Reference in New Issue
Block a user