forked from Wavyzz/dolibarr
Qual: Update baseline, fix new notice. (#35689)
# Qual: Update baseline, fix new notice. Fix small new notice and update baseline with regards to other fixes. Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -12,7 +12,7 @@ return [
|
||||
// PhanUndeclaredProperty : 420+ occurrences
|
||||
// PhanTypeMismatchProperty : 100+ occurrences
|
||||
// PhanTypeMismatchArgument : 70+ occurrences
|
||||
// PhanUndeclaredGlobalVariable : 70+ occurrences
|
||||
// PhanUndeclaredGlobalVariable : 65+ occurrences
|
||||
// PhanTypeMismatchArgumentNullable : 40+ occurrences
|
||||
// PhanTypeInvalidDimOffset : 15+ occurrences
|
||||
// PhanTypeMismatchDimFetch : 15+ occurrences
|
||||
@@ -230,7 +230,6 @@ return [
|
||||
'htdocs/projet/tasks.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/projet/tasks/time.php' => ['PhanTypeInvalidDimOffset', 'PhanUndeclaredProperty'],
|
||||
'htdocs/projet/tasks/tpl/linkedobjectblock.tpl.php' => ['PhanUndeclaredProperty'],
|
||||
'htdocs/public/eventorganization/subscriptionok.php' => ['PhanUndeclaredGlobalVariable'],
|
||||
'htdocs/public/members/new.php' => ['PhanUndeclaredGlobalVariable'],
|
||||
'htdocs/public/payment/newpayment.php' => ['PhanUndeclaredProperty'],
|
||||
'htdocs/public/payment/paymentok.php' => ['PhanTypeMismatchArgumentProbablyReal'],
|
||||
|
||||
@@ -1062,7 +1062,7 @@ abstract class CommonInvoice extends CommonObject
|
||||
$statusdispute = $moreparams['dispute_status'] ? img_picto($langs->trans("DisputeOpen"), 'warning') : '';
|
||||
}
|
||||
*/
|
||||
if ($moreparams['dispute_status']) {
|
||||
if (isset($moreparams['dispute_status']) && $moreparams['dispute_status']) {
|
||||
$labelStatus .= ' - '.$langs->trans("DisputeOpen");
|
||||
$statusType = 'status8';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user