Merge pull request #5556 from olsesacl/#5516

FIX #5516 PHP7 warning on supplier module's invoices configuration page
This commit is contained in:
Laurent Destailleur 2016-07-27 11:15:21 +02:00 committed by GitHub
commit c23fe43b62

View File

@ -106,11 +106,14 @@ abstract class ModeleNumRefSuppliersInvoices
return true;
}
/** Returns next value assigned
*
* @return string Valeur
*/
function getNextValue()
/** Returns next value assigned
*
* @param Societe $objsoc Object third party
* @param Object $object Object
* @param string $mode 'next' for next value or 'last' for last value
* @return string Value if OK, 0 if KO
*/
function getNextValue($objsoc,$object,$mode)
{
global $langs;
return $langs->trans("NotAvailable");