Rept0id
3cc415af47
Updated function dol_eval, added error handling
...
- There were cases that dol_eval() would break the whole system.
-That was happening in case of using a new version plugin on an old version dolibarr. New plugin validates through isModActive() instead of $conf->moduleName->enabled. Even if you were deactivating the plugin, or totally delete it, the records were still on database for menu, so there were no obvious solution. This update adds a backwards compatibility, makes doli more stable and counterparts the use of eval, making it more safe.
- Use of eval is not bad, as well there are techniques in any project that are project-related useful and smart. For example, Linux kernel uses GOTO. But in such cases, there needs to be a safety net.
-I found out this after a lot of trouble, I hope this small fix will save other developers.
👍
2023-02-04 15:17:51 +01:00
Laurent Destailleur
57e003a7f5
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
2023-02-04 15:17:01 +01:00
Laurent Destailleur
0a2d236c4e
Merge pull request #23773 from DethCount/patch-3
...
FIX Division by zero
2023-02-04 15:06:03 +01:00
Laurent Destailleur
acef9f674f
Merge pull request #23779 from grandoc/new_branch_04_02_2023
...
fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/a…
2023-02-04 15:01:23 +01:00
Laurent Destailleur
2cc19f0e42
Fix css
2023-02-04 14:59:44 +01:00
Laurent Destailleur
c0dc9d47e3
Fix permissions #yogosha13771
2023-02-04 14:09:28 +01:00
Laurent Destailleur
f32fdf3f29
FIX #yogosha14972
2023-02-04 14:07:07 +01:00
Laurent Destailleur
7a3c752914
Fix permission on an inherited group inside entity 0 no visible
2023-02-04 14:06:40 +01:00
Laurent Destailleur
e782930670
Fix #yogosha
2023-02-04 14:06:06 +01:00
Philippe GRAND
5271a2b4a7
fix : Warning: Undefined property: DeliveryLine:: in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/delivery/card.php on line 571 and same for
2023-02-04 12:17:42 +01:00
Philippe GRAND
9016f5e74a
fix : Warning: Undefined variable in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/delivery/card.php on line 286
2023-02-04 11:42:01 +01:00
Philippe GRAND
263ef91984
fix : Warning: Undefined array key xStartPos in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/core/class/commondocgenerator.class.php on line 1109
2023-02-04 11:10:30 +01:00
Philippe GRAND
75b5c2cf54
fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/delivery/class/delivery.class.php on line 822
2023-02-04 10:25:35 +01:00
Laurent Destailleur
3069a97a46
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
2023-02-03 17:26:11 +01:00
Laurent Destailleur
d0d30d1f17
Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
2023-02-03 17:11:30 +01:00
Laurent Destailleur
782e953a1d
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
2023-02-03 17:09:38 +01:00
Laurent Destailleur
86c2f2fcde
Fix phpcs
2023-02-03 17:08:24 +01:00
Julien Nicolas
04e3b47547
Division by zero
2023-02-03 15:56:50 +01:00
Laurent Destailleur
45dd6c8f0b
Prepare option PDF_SWISS_QRCODE_USE_OWNER_OF_ACCOUNT_AS_CREDITOR
2023-02-02 15:06:19 +01:00
Laurent Destailleur
be63736f87
Enhance repair by removing some bad named indexes
2023-02-02 13:03:30 +01:00
Laurent Destailleur
c78e2b11f9
Complete the repair to remove orphelins states and regions
2023-02-02 13:03:18 +01:00
Laurent Destailleur
088d783e03
Fix all indexes must have a name
2023-02-02 12:59:05 +01:00
Laurent Destailleur
40852a124d
Fix doc
2023-02-02 12:15:22 +01:00
Laurent Destailleur
2c1e1a6126
Fix missing upgrade
2023-02-02 11:48:30 +01:00
Laurent Destailleur
a564cb8532
css
2023-02-01 16:12:29 +01:00
Laurent Destailleur
a6f6192d78
Fix warnings
2023-02-01 11:20:52 +01:00
Laurent Destailleur
958c149d85
Fix permission to delete a website
2023-02-01 03:39:40 +01:00
Laurent Destailleur
670d77ce34
Sync transifex
2023-01-31 23:41:05 +01:00
Laurent Destailleur
36cf05318b
Debug v17
2023-01-31 21:17:06 +01:00
Laurent Destailleur
67bf4a3ec0
Debug v17
2023-01-31 20:45:32 +01:00
Laurent Destailleur
19eced3981
css
2023-01-31 20:10:39 +01:00
Laurent Destailleur
5e8e4551fb
Debug v17
2023-01-31 20:07:08 +01:00
Laurent Destailleur
99f26b49b7
Trans
2023-01-31 19:46:02 +01:00
Laurent Destailleur
52267efb99
Fix filter must use the Dolibarr filter syntax
2023-01-31 18:18:33 +01:00
Laurent Destailleur
e2efeeef9a
Fix menu accountancy not visible with module "comptabilite"
2023-01-31 16:05:19 +01:00
Laurent Destailleur
c1c21846ab
Fix look and feel v17
2023-01-31 11:13:17 +01:00
Laurent Destailleur
23a213d948
Fix warning
2023-01-31 10:56:16 +01:00
Laurent Destailleur
c046f100bf
Fix css
2023-01-31 10:42:39 +01:00
Laurent Destailleur
e3441e9772
css
2023-01-31 05:32:14 +01:00
Laurent Destailleur
16ca0ab801
Debug v17
2023-01-31 05:02:26 +01:00
Laurent Destailleur
6c02e890d8
Fix CSS
2023-01-31 04:37:04 +01:00
Laurent Destailleur
89ce31b840
Debug IMAP with PHP_IMAP
2023-01-31 04:14:39 +01:00
Laurent Destailleur
583891a8e5
Fix template for line total
2023-01-31 01:14:49 +01:00
Laurent Destailleur
4d55c07b62
Doc
2023-01-30 19:12:43 +01:00
Laurent Destailleur
b48683db91
NEW Can set background style with MAIN_LOGIN_BACKGROUND_STYLE
2023-01-30 19:07:29 +01:00
Laurent Destailleur
dd70552374
Fix css
2023-01-30 15:54:19 +01:00
Laurent Destailleur
66ea91c253
Merge pull request #23731 from grandoc/new_branch_30_01_2023
...
fix : Warning: Undefined variable in /home/httpd/vhosts/aflac.fr/dom…
2023-01-30 13:23:05 +01:00
Laurent Destailleur
3349cd392e
Update commondocgenerator.class.php
2023-01-30 13:22:44 +01:00
Philippe GRAND
6ab7ca1279
fix : Warning: Undefined variable in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/core/class/commondocgenerator.class.php on line 455
2023-01-30 12:28:20 +01:00
kkhelifa
a8bb58f298
FIX: Rights on action for payments by bank transfer
2023-01-30 12:09:25 +01:00