Merge pull request #4313 from braito4/patch-2

Fix Warning #4229 PHP7
This commit is contained in:
Laurent Destailleur 2015-12-31 14:48:50 +01:00
commit bc56b9a2a7

View File

@ -624,10 +624,11 @@ class Resource extends CommonObject
* Load properties id_previous and id_next
*
* @param string $filter Optional filter
* @param int $fieldid Name of field to use for the select MAX and MIN
* @param int $fieldid Name of field to use for the select MAX and MIN
* @param int $nodbprefix Do not include DB prefix to forge table name
* @return int <0 if KO, >0 if OK
*/
function load_previous_next_ref($filter,$fieldid)
function load_previous_next_ref($filter, $fieldid, $nodbprefix =0)
{
global $conf, $user;