Commit Graph

15626 Commits

Author SHA1 Message Date
Alexandre Janniaux
1da9aab8d4 commonobject: updateRangOfLine: de-indent happy path (#34569)
There's no need for the else{} block when the if block early returns,
and it helps highlighting the happy path. Note that this kind of change
only make sense when one of the block is an error, not a choice between
two possibilities.
2025-06-19 10:11:12 +02:00
Frédéric FRANCE
bf2d6f1f1e fix CI (#34553)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-19 10:10:42 +02:00
ldestailleur
06a5b4947d Fix CI 2025-06-18 15:59:28 +02:00
Alexandre Janniaux
f04a390cb5 commonobject: getChildrenOfLine: early return on query error (#34547)
This makes the code more readable by deindenting two whole levels on the
happy path.
2025-06-18 14:19:37 +02:00
ldestailleur
8208b1d40f Debug v22 2025-06-17 01:13:09 +02:00
Laurent Destailleur
13f483d7a9 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2025-06-14 16:03:56 +02:00
Laurent Destailleur
8d7a5e9945 Debug v22 2025-06-14 15:59:13 +02:00
Marc de Lima Lucio
467c772504 FIX: common fields: php warning with select input field (#34495) 2025-06-14 11:58:25 +02:00
IC-Nicolas
6474c7fbdd FIX display error (#34494)
* FIX display error

* FIX CI
2025-06-14 11:57:58 +02:00
HENRY Florian
e17b36b0c7 fix: warning Form IA and settings (#34426)
* fix: warning Form IA and settings

* fix: warning Form IA and settings

* Update html.formmail.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-13 16:13:02 +02:00
Laurent Destailleur
bfd2359fd8 Debug v22 2025-06-13 03:21:40 +02:00
ldestailleur
fdd02a0ebe Fix CI 2025-06-11 18:17:56 +02:00
ldestailleur
175b79db3f Fix CI 2025-06-11 18:07:33 +02:00
ldestailleur
7ad71279a7 Fix CI 2025-06-11 17:33:07 +02:00
ldestailleur
14a689c4a7 Debug v22 2025-06-11 15:08:52 +02:00
ldestailleur
9e26f5a98e Debug v22 2025-06-11 12:45:15 +02:00
ldestailleur
267b65cd9b Fix CI 2025-06-10 14:38:13 +02:00
Laurent Destailleur
b1812b1080 Debug v22 2025-06-10 02:24:08 +02:00
Laurent Destailleur
221c27c091 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-09 18:15:59 +02:00
Laurent Destailleur
326c75dc51 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-06-09 17:58:54 +02:00
ldestailleur
9cc83f44de Debug v22 2025-06-08 13:23:46 +02:00
ldestailleur
04f1176d50 Debug v22 2025-06-05 17:47:40 +02:00
ldestailleur
81ea4aaa8c Try to fix CI 2025-06-04 16:18:03 +02:00
ldestailleur
02b9dfed38 Fix CI 2025-06-04 16:06:11 +02:00
ldestailleur
6d16d2298c Try fix ci 2025-06-04 15:58:01 +02:00
ldestailleur
22e2087b9e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-04 15:10:42 +02:00
kkhelifa-opendsi
115a430652 FIX: Fix delete ecm file into database when delete a contract (#34310) 2025-06-04 14:31:23 +02:00
ldestailleur
ae06fde2c5 Doc 2025-06-04 14:04:43 +02:00
ldestailleur
7ed8450d8a Fix CI 2025-06-04 10:59:27 +02:00
Günter Lukas
eaf0ec2e30 Fix #34346 - SQL Error (#34347)
* Fix #34346 - SQL Error

* Update commonobject.class.php
2025-06-03 17:05:10 +02:00
ldestailleur
88e75755fa Debug v22 2025-06-02 21:10:45 +02:00
ldestailleur
f3fb48dcde Debug v22 2025-06-02 20:51:21 +02:00
ldestailleur
9135a63867 Debug v22 2025-06-02 17:11:38 +02:00
ldestailleur
7b8223d66a Debug v22 2025-06-02 17:07:25 +02:00
ldestailleur
d543bdcffe Debug v22 2025-06-02 16:59:46 +02:00
ldestailleur
36b00c5951 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-02 14:59:18 +02:00
ldestailleur
78d261916f Debug v22 2025-06-02 14:22:47 +02:00
ldestailleur
b3ada81875 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-05-28 09:57:55 +02:00
ldestailleur
95519edb78 Debug v22 2025-05-28 09:57:46 +02:00
Laurent Destailleur
c35965030c Debug v22 2025-05-28 01:16:02 +02:00
Laurent Destailleur
3c3df0c24d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-05-28 00:09:40 +02:00
Laurent Destailleur
1b3b123472 Debug v22 2025-05-28 00:09:02 +02:00
Alexandre Janniaux
5daee690a9 hookmanager: early return (#34202)
The line:

        if (in_array($context, $arrayhooks) || in_array('all', $arrayhooks)) {

Needs to be inverted like the following:

        if (!in_array($context, $arrayhooks) && !in_array('all', $arrayhooks)) {

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-05-27 22:26:58 +02:00
Charlène Benke
51d26108f9 fix typo error (#34186)
contRactid instead of contactid ...

there are some very long weekends sometimes...
2025-05-27 21:18:57 +02:00
Quentin-Seekness
024f266089 Allow insertion of value equals to 0 with int type (#34294)
The issue is that right now we can't insert a value of 0 as an int extrafields (unless the filed is mandatory, wich is not always the case)
2025-05-27 18:55:28 +02:00
Laurent Destailleur
393537d1e4 FIX portal module, prepare to replace duplication of code 2025-05-27 18:47:19 +02:00
Laurent Destailleur
f9f15a75d6 Fix CI 2025-05-27 16:31:51 +02:00
ldestailleur
094a05b9a5 Debug v22 2025-05-27 14:48:25 +02:00
ldestailleur
3aaf0ad6f7 Debug v22 2025-05-26 22:17:53 +02:00
ldestailleur
c025ae1c83 Clean code 2025-05-26 17:24:27 +02:00