mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 00:53:00 +01:00
Qual: Fix notices for htdocs/admin/* (#30982)
* Fix (Possibly)UndeclaredGlobalVariable * Update phan baseline * Fix (Possibly)UndeclaredGlobalVariable (2) * Qual: Fix notices for htdocs/admin/* # Qual: Fix notices for htdocs/admin/* Fixes most phan/phpstan noticies for files under htdocs/admin/* and ai.
This commit is contained in:
@@ -342,6 +342,7 @@ if (isModEnabled('societe')) {
|
||||
print $langs->trans("CurrentlyNWithoutBarCode", $nbthirdpartyno, $nbthirdpartytotal, $langs->transnoentitiesnoconv("ThirdParties"))."\n";
|
||||
|
||||
$disabledthirdparty = $disabledthirdparty1 = 0;
|
||||
$titleno = '';
|
||||
|
||||
if (is_object($modBarCodeThirdparty)) {
|
||||
print '<br>'.$langs->trans("BarCodeNumberManager").": ";
|
||||
@@ -420,6 +421,7 @@ if (isModEnabled('product') || isModEnabled('service')) {
|
||||
|
||||
$disabledproduct = $disabledproduct1 = 0;
|
||||
|
||||
$titleno = '';
|
||||
if (is_object($modBarCodeProduct)) {
|
||||
print '<br>'.$langs->trans("BarCodeNumberManager").": ";
|
||||
$objproduct = new Product($db);
|
||||
|
||||
Reference in New Issue
Block a user