Laurent Destailleur
9d6ddced56
Merge pull request #19607 from fbosman/patch-1
...
Update functions.lib.php
2021-12-16 17:33:13 +01:00
Laurent Destailleur
36ba158a8b
Merge pull request #19637 from atm-john/12.0_fix_get_prev_progress
...
FIX : test of method exist on wrong object
2021-12-16 16:49:59 +01:00
John BOTELLA
d149596043
fix test of method exist on wrong object
2021-12-16 10:33:53 +01:00
Frans Bosman
cf05f38e54
Update functions.lib.php
...
Change exists to isset in price2num
2021-12-13 19:56:06 +01:00
Laurent Destailleur
3a32787f15
Fix for backward compatibility
2021-10-11 16:14:34 +02:00
Gauthier PC portable 024
4b6fb7dd47
FIX : auto rounding on "_FORMATED_" tags
2021-06-09 12:26:28 +02:00
Frédéric FRANCE
3ebe6eb014
fix bad setup of MAIN_USE_BACKGROUND_ON_PDF
2021-05-27 00:02:01 +02:00
Laurent Destailleur
f6f4968af6
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
...
Conflicts:
htdocs/societe/consumption.php
2021-05-06 16:52:36 +02:00
Marc de Lima Lucio
139ae3db00
FIX: pgsql: prevent 'WHERE 1'
2021-05-05 11:49:11 +02:00
Laurent Destailleur
540e4f3d2e
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
2021-05-03 18:58:41 +02:00
stickler-ci
81b964db45
Fixing style errors.
2021-04-30 08:12:24 +00:00
atm-lena
5e98d99321
FIX SQL Error show_contacts : socialnetworks
2021-04-30 10:04:21 +02:00
Florian HENRY
bf775855f6
avoid warning into modulebuilder
2021-03-04 10:28:41 +01:00
Laurent Destailleur
8b9287055e
Update functions.lib.php
2021-01-16 18:34:25 +01:00
zuiko
fd5948f716
Update functions.lib.php
...
Fix #15820
Fix #15820
function price2num
add underscore in the pattern in instruction
$amount = preg_replace('/[a-zA-Z\/\\\*\(\)\<\>]/', '', $amount);
as this:
$amount = preg_replace('/[a-zA-Z\/\\\*\(\)\<\>\_\-]/', '', $amount);
in order to cover some constantes cases as 20% (TX_NORMAL) or 10% (TX_REDUIT) where underscore is used.
it seems that some constantes use also "-" so I added it in the pattern.
I don't know if other characters have to be added to this pattern.
2021-01-14 15:00:53 +01:00
zuiko
727751e0c1
Update functions.lib.php
...
Fix #15820
function price2num
add underscore in the pattern in instruction
$amount = preg_replace('/[a-zA-Z\/\\\*\(\)\<\>]/', '', $amount);
as this:
$amount = preg_replace('/[a-zA-Z\/\\\*\(\)\<\>\_]/', '', $amount);
in order to cover some constantes cases as 20% (TX_NORMAL) or 10% (TX_REDUIT) where underscore is used.
I don't know if other characters have to be added to this pattern.
2021-01-14 14:44:32 +01:00
ATM john
92a4314779
Fix security mecanism generating data loss
2021-01-06 10:45:54 +01:00
Laurent Destailleur
bb22f2ccaf
Update admin.lib.php
2021-01-04 12:02:41 +01:00
Maxime Kohlhaas
e190b010d3
Fix dict contact type element list
2021-01-03 16:05:04 +01:00
Laurent Destailleur
8c87050703
FIX Check of customer/vendor code fails in some cases
2020-12-20 13:54:02 +01:00
Laurent Destailleur
5f9b53004b
Fix warning
2020-12-14 17:40:40 +01:00
Laurent Destailleur
4fcd3fe493
Fix disallow -- string into filename for security purpose. Vulnerability
...
reported by Yılmaz Değirmenci
2020-12-11 15:12:42 +01:00
atm-lena
d22646e6ae
pricetonum() - preg-replace() delete "-" negativ number
2020-12-04 16:06:10 +01:00
Laurent Destailleur
58eaef37d2
Fix regression
2020-11-29 21:29:22 +01:00
Laurent Destailleur
d3a2aa664f
FIX #15572
2020-11-29 20:27:40 +01:00
Laurent Destailleur
ac3c129735
Clean code
2020-11-27 14:24:15 +01:00
Laurent Destailleur
817de18a5d
Fix remove log
2020-11-24 12:25:32 +01:00
Laurent Destailleur
53208e620e
Use of . as thousand separator. Can use it for decimal if not 3 digits.
2020-11-24 10:56:05 +01:00
Laurent Destailleur
c5278197fb
More phpunit test for price2num
2020-11-23 19:45:11 +01:00
Laurent Destailleur
41b938047d
Fix doc
2020-10-31 14:51:32 +01:00
Laurent Destailleur
9113ecedfa
code comment
2020-10-31 12:55:26 +01:00
Laurent Destailleur
623cb54480
Prepare a more complete fix for #15016
2020-10-31 12:30:47 +01:00
Laurent Destailleur
a4d2927f82
Fix for #15016
...
Conflicts:
htdocs/core/actions_linkedfiles.inc.php
2020-10-31 12:18:54 +01:00
Laurent Destailleur
1a02504792
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
...
Conflicts:
htdocs/core/class/hookmanager.class.php
htdocs/core/lib/security2.lib.php
2020-10-30 04:26:09 +01:00
Laurent Destailleur
f51b02026c
Fix regression
2020-10-30 04:24:06 +01:00
Laurent Destailleur
ec0c8e0c79
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
...
Conflicts:
htdocs/core/lib/security2.lib.php
htdocs/core/modules/livraison/doc/pdf_typhon.modules.php
htdocs/core/tpl/advtarget.tpl.php
2020-10-30 03:35:40 +01:00
Laurent Destailleur
f22017080d
Fix for php8
2020-10-30 03:25:33 +01:00
Alfredo Altamirano
214cd2c99b
Update references of MO translation string
2020-10-26 15:44:26 -06:00
Laurent Destailleur
a17c391efe
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
...
Conflicts:
htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php
htdocs/product/composition/card.php
2020-10-22 17:38:48 +02:00
Laurent Destailleur
cfcac7e053
Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into 11.0
...
Conflicts:
htdocs/core/lib/functions2.lib.php
2020-10-22 17:34:48 +02:00
Laurent Destailleur
31f1ab73b1
Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into 10.0
2020-10-22 17:31:29 +02:00
Florian Mortgat
529dfb8dfb
FIX 9.0 - supplier proposals as linked objects of events are not correctly fetched
2020-10-20 16:37:15 +02:00
Laurent Destailleur
6bba249935
FIX pdf_getlinetotalwithtax must show total incl tax
2020-10-16 15:50:51 +02:00
Laurent Destailleur
6933b7ec9c
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
...
Conflicts:
htdocs/core/lib/agenda.lib.php
2020-10-06 13:15:52 +02:00
Laurent Destailleur
989074f13a
Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into 11.0
2020-10-06 13:13:31 +02:00
ptibogxiv
dd1904c521
Fix multicompany in last action box
2020-10-04 13:58:46 +02:00
Laurent Destailleur
29414251f5
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
...
Conflicts:
htdocs/core/lib/files.lib.php
2020-09-29 13:19:03 +02:00
Laurent Destailleur
5c9ad3ec9b
Update files.lib.php
2020-09-27 18:55:09 +02:00
Florian HENRY
5ff7e37696
review code
2020-09-27 18:05:19 +02:00
Florian HENRY
b6b2553501
Merge branch '11.0' into 11.0_fixmultidiroutput
2020-09-27 18:02:22 +02:00