mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
Fix modulebuilder template
This commit is contained in:
@@ -118,11 +118,10 @@ class mod_myobject_advanced extends ModeleNumRefMyObject
|
||||
/**
|
||||
* Return next free value
|
||||
*
|
||||
* @param Product $objprod Object product
|
||||
* @param Object $object Object we need next value for
|
||||
* @return string Value if KO, <0 if KO
|
||||
*/
|
||||
public function getNextValue($objprod, $object)
|
||||
public function getNextValue($object)
|
||||
{
|
||||
global $db,$conf;
|
||||
|
||||
|
||||
@@ -109,11 +109,10 @@ class mod_myobject_standard extends ModeleNumRefMyObject
|
||||
/**
|
||||
* Return next free value
|
||||
*
|
||||
* @param Product $objprod Object product
|
||||
* @param Object $object Object we need next value for
|
||||
* @return string Value if KO, <0 if KO
|
||||
*/
|
||||
public function getNextValue($objprod, $object)
|
||||
public function getNextValue($object)
|
||||
{
|
||||
global $db,$conf;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user