forked from Wavyzz/dolibarr
fix phpdoc and default value
This commit is contained in:
@@ -5346,13 +5346,13 @@ function info_admin($text, $infoonimgalt = 0, $nodiv = 0, $admin = '1', $morecss
|
||||
* This function must be called when a blocking technical error is encountered.
|
||||
* However, one must try to call it only within php pages, classes must return their error through their property "error".
|
||||
*
|
||||
* @param DoliDB|string $db Database handler
|
||||
* @param DoliDB|null $db Database handler
|
||||
* @param string|string[] $error String or array of errors strings to show
|
||||
* @param array $errors Array of errors
|
||||
* @param string[]|null $errors Array of errors
|
||||
* @return void
|
||||
* @see dol_htmloutput_errors()
|
||||
*/
|
||||
function dol_print_error($db = '', $error = '', $errors = null)
|
||||
function dol_print_error($db = null, $error = '', $errors = null)
|
||||
{
|
||||
global $conf, $langs, $argv;
|
||||
global $dolibarr_main_prod;
|
||||
|
||||
Reference in New Issue
Block a user