Fix a parameter is required to know what we share.

This commit is contained in:
Laurent Destailleur
2017-06-10 20:04:24 +02:00
parent 890ac81e4d
commit b62da4bb7a
6 changed files with 17 additions and 17 deletions

View File

@@ -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;