[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dolibarr-git] [Dolibarr/dolibarr] cf3364: fix: count throws an error wh
From: |
Laurent Destailleur |
Subject: |
[Dolibarr-git] [Dolibarr/dolibarr] cf3364: fix: count throws an error when parameter is null |
Date: |
Mon, 08 Apr 2019 04:30:05 -0700 |
Branch: refs/heads/develop
Home: https://github.com/Dolibarr/dolibarr
Commit: cf3364d20582082f6856ec576dbb236ff412662d
https://github.com/Dolibarr/dolibarr/commit/cf3364d20582082f6856ec576dbb236ff412662d
Author: DALL'AGNOLA Cédric <address@hidden>
Date: 2019-04-05 (Fri, 05 Apr 2019)
Changed paths:
M htdocs/cashdesk/class/Facturation.class.php
Log Message:
-----------
fix: count throws an error when parameter is null
At the first connection, $_SESSION['poscart'] is empty or null and when you try
to add an item to the cart in cashdesk you got this:
Warning: count(): Parameter must be an array or an object that implements
Countable in
/homepages/35/d523563538/htdocs/clickandbuilds/dolibarr/afds/cashdesk/class/Facturation.class.php
on line 145
Warning: Cannot modify header information - headers already sent by (output
started at
/homepages/35/d523563538/htdocs/clickandbuilds/dolibarr/afds/cashdesk/class/Facturation.class.php:145)
in
/homepages/35/d523563538/htdocs/clickandbuilds/dolibarr/afds/cashdesk/facturation_verif.php
on line 234
Commit: c2127a67021bc0fee12acc44209de6e1b0c62d88
https://github.com/Dolibarr/dolibarr/commit/c2127a67021bc0fee12acc44209de6e1b0c62d88
Author: DALL'AGNOLA Cédric <address@hidden>
Date: 2019-04-05 (Fri, 05 Apr 2019)
Changed paths:
M htdocs/cashdesk/class/Facturation.class.php
Log Message:
-----------
is_empty to empty
Commit: 9a099491159e07968363c2a5497aafca5840d51a
https://github.com/Dolibarr/dolibarr/commit/9a099491159e07968363c2a5497aafca5840d51a
Author: Laurent Destailleur <address@hidden>
Date: 2019-04-08 (Mon, 08 Apr 2019)
Changed paths:
M htdocs/cashdesk/class/Facturation.class.php
Log Message:
-----------
Merge pull request #10970 from cdallagnola/patch-1
Patch 1
Compare:
https://github.com/Dolibarr/dolibarr/compare/da6c5b552ffa...9a099491159e
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dolibarr-git] [Dolibarr/dolibarr] cf3364: fix: count throws an error when parameter is null,
Laurent Destailleur <=