2
0
forked from Wavyzz/dolibarr

FIX phan phan la tulip

This commit is contained in:
Regis Houssin
2024-03-26 22:35:21 +01:00
parent 916484b8e2
commit 08aed338c1
2 changed files with 3 additions and 3 deletions

View File

@@ -12858,7 +12858,7 @@ function forgeSQLFromUniversalSearchCriteria($filter, &$errorstr = '', $noand =
$ret = str_replace('__NOW__', $db->idate(dol_now()), $ret);
}
if (is_object($user)) {
$ret = str_replace('__USER_ID__', (int) $user->id, $ret);
$ret = str_replace('__USER_ID__', (string) $user->id, $ret);
}
return $ret;