Commit Graph

35103 Commits

Author SHA1 Message Date
Laurent Destailleur
477fb7a035 Fix warning 2024-03-21 13:55:23 +01:00
Laurent Destailleur
380c1092eb Fix warnings 2024-03-21 13:19:31 +01:00
Laurent Destailleur
f3e6b38d9d Fix warning 2024-03-21 13:16:59 +01:00
Laurent Destailleur
aee4ccc32c Fix warnings 2024-03-21 13:06:20 +01:00
Laurent Destailleur
58e719eb56 Fix sanitization 2024-03-21 13:03:30 +01:00
Laurent Destailleur
9d5aa4a448 Fix sanitization 2024-03-21 13:02:41 +01:00
Laurent Destailleur
ae8e49e611 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-21 13:00:29 +01:00
Laurent Destailleur
84f2121610 Add a FIXME 2024-03-21 12:58:39 +01:00
Laurent Destailleur
61eefe5fa9
Merge branch 'develop' into fix/PhanTypeMismatchReturnNullable 2024-03-21 12:51:27 +01:00
Laurent Destailleur
aa77573cd9 Sanitize DDL instructions 2024-03-21 12:45:58 +01:00
Laurent Destailleur
171c32be34 Add DDLDropTable and DDLCreateTable into phpunit tests 2024-03-21 12:21:38 +01:00
Laurent Destailleur
ce2959b022 Clean method DDLCreateTable (used by modulebuilder only) #28996 2024-03-21 12:10:09 +01:00
Laurent Destailleur
ae10eedf2a Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-21 11:29:16 +01:00
Laurent Destailleur
57eb393dad Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-21 11:22:28 +01:00
Laurent Destailleur
27c0192b7c cast smallint 2024-03-21 11:17:15 +01:00
Andrés Maldonado
976686262d FIX: SQL syntax error in DDLUpdateField 2024-03-21 02:36:40 +01:00
MDW
2496d20d4f
Fix nullable return with if($ok == 1) in stead of if($ok)
# Fix nullable return with if($ok == 1) in stead of if($ok)

This seems to be a bug in Phan where if($ok) changes the type of $ok.
Testing with '$ok == 1' instead fixes the issue.

This has been reported to the phan team.
2024-03-21 00:28:14 +01:00
MDW
53c628f219
Cast DolEditor::Create to string to avoid mistyping as void 2024-03-20 23:54:33 +01:00
MDW
942239b5d6
Update PHPdoc to show nullable return 2024-03-20 23:54:32 +01:00
MDW
44ef0de1ef
Fix null return by initialising return value, forcing type 2024-03-20 23:54:31 +01:00
MDW
9ecb4bd639
Fix null return by returning empty string in else case 2024-03-20 21:58:47 +01:00
MDW
4f9ad83222
Fix null return by returning empty string 2024-03-20 21:58:46 +01:00
MDW
23b7d63850
Fix null return by initialising return value to 0 2024-03-20 21:58:45 +01:00
MDW
f824bbdc23
Fix null return by returning and logging error 2024-03-20 21:58:45 +01:00
MDW
d591d258f1
Fix null return by returning 0 2024-03-20 21:58:44 +01:00
MDW
6bfdc4655f
Disable ignores phan's baseline.txt (fixed) 2024-03-20 21:58:43 +01:00
MDW
e105b577ee
Fix PhanTypeMismatchReturn by changing return and logging error 2024-03-20 21:58:39 +01:00
MDW
9f7b0fb326
Fix PhanTypeMismatchReturnNullable by adding die() in final else condition as well 2024-03-20 21:58:38 +01:00
MDW
7e1bf61c0d
Fix PhanTypeMismatchReturnNullable with init 2024-03-20 21:58:37 +01:00
Laurent Destailleur
fe4d567a82
Merge pull request #28991 from OPEN-DSI/18.0_fix_generate_invoice_odt_directory
FIX: Fix save directory for invoice ODT and multientities
2024-03-20 16:22:13 +01:00
Kamel Khelifa
9e7aeca447 FIX: Fix save directory for invoice ODT and multientities 2024-03-20 15:26:19 +01:00
Laurent Destailleur
e3c76ca86a Clean translation files 2024-03-20 15:25:47 +01:00
Laurent Destailleur
cb3880cc62 Clean translations 2024-03-20 15:15:28 +01:00
Laurent Destailleur
b0d1952567
Merge branch 'develop' into fix/PhanTypeMismatchInternal5 2024-03-20 12:00:39 +01:00
Laurent Destailleur
9aa47786eb Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-20 11:29:44 +01:00
Laurent Destailleur
ef309baeb0 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-20 11:28:31 +01:00
Laurent Destailleur
b18d65c09c Fix warning 2024-03-20 11:26:25 +01:00
Laurent Destailleur
2e8080b0e5 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-03-20 11:24:41 +01:00
Laurent Destailleur
5b2cb4b063 Fix remove bad entry into array of the rss box 2024-03-20 11:24:16 +01:00
Laurent Destailleur
5697e32ea2 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-20 10:58:20 +01:00
Laurent Destailleur
702309de09 Doc 2024-03-20 10:52:07 +01:00
iouston
73436bc625
update filter example
((s.client IN (1,3) AND s.status=1)) give an sql error bad syntax on filter use ((s.client:IN:1,2,3) AND (s.status:=:1)) is ok
2024-03-20 10:15:10 +01:00
MDW
fd6f4a4f41
Fix arg type to Memcache::add() by replacing false with 0 2024-03-20 04:10:08 +01:00
MDW
0969343d15
Fix arg to strcmp with cast 2024-03-20 04:09:56 +01:00
MDW
a7245184d0
Fix PhanTypeMismatch* with change to ->data and type checks 2024-03-20 04:09:20 +01:00
MDW
c6cfba4ff0
Fix arg type to strlen/strlen by casting + minor layout fix 2024-03-20 04:08:25 +01:00
MDW
63d5cef0f9
Fix PHPdoc typing, casting and minor rewrites for PhanTypeMismatchArgumentInternal 2024-03-20 04:08:04 +01:00
Laurent Destailleur
e92d6230df Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/ticket/class/ticket.class.php
	htdocs/ticket/list.php
	htdocs/ticket/stats/index.php
2024-03-20 02:31:33 +01:00
Laurent Destailleur
dd5d70ad5d Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
Conflicts:
	htdocs/core/triggers/interface_50_modTicket_TicketEmail.class.php
	htdocs/public/ticket/create_ticket.php
	htdocs/public/ticket/index.php
	htdocs/public/ticket/list.php
	htdocs/public/ticket/view.php
	htdocs/ticket/agenda.php
	htdocs/ticket/card.php
	htdocs/ticket/class/ticket.class.php
	htdocs/ticket/contact.php
	htdocs/ticket/document.php
	htdocs/ticket/index.php
	htdocs/ticket/list.php
	htdocs/ticket/messaging.php
	htdocs/ticket/stats/index.php
2024-03-20 02:25:58 +01:00
Laurent Destailleur
a7223719a5
Merge pull request #28446 from rycks/18.0-ticket_code_review
18.0 fix links error on dedicated virtualhost and ticket code review
2024-03-20 01:55:57 +01:00