mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
# Fix fatal (PHP8.X) type issue with abs, and amend dol_eval return type I got the following message: `Fatal error: Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in D:\mdeweerd\workspace\dolibarr\htdocs\projet\list.php on line 233` I examined the phan report and there was no mention of this because dol_eval was said to return mixed. In order to detect such cases, I amended the dol_eval return type to ensure to find most of the locations where a cast is needed. |
||
|---|---|---|
| .. | ||
| activity | ||
| admin | ||
| ajax | ||
| class | ||
| stats | ||
| tasks | ||
| agenda.php | ||
| card.php | ||
| comment.php | ||
| contact.php | ||
| document.php | ||
| element.php | ||
| ganttchart.inc.php | ||
| ganttview.php | ||
| graph_opportunities.inc.php | ||
| index.php | ||
| jsgantt_language.js.php | ||
| list.php | ||
| messaging.php | ||
| note.php | ||
| tasks.php | ||