mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 01:28:19 +01:00
Fix a parameter is required to know what we share.
This commit is contained in:
@@ -113,7 +113,7 @@ function getDoliDBInstance($type, $host, $user, $pass, $name, $port)
|
||||
* @param int $shared 1=Return id of current entity + shared entities (default), 0=Return id of current entity only
|
||||
* @return mixed Entity id(s) to use
|
||||
*/
|
||||
function getEntity($element=false, $shared=1)
|
||||
function getEntity($element, $shared=1)
|
||||
{
|
||||
global $conf, $mc;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user