PHP Compatibility

This commit is contained in:
sparkyx 2023-12-12 18:31:02 +01:00
parent 772ff248c8
commit 934e0c0a36
2 changed files with 2 additions and 2 deletions

View file

@ -165,7 +165,7 @@ class Document_Export
* @param int $reconcilied_operation 1 with receipt of reconcilied operation 2 without them
*
*/
function export_all($p_array, Progress_Bar $progress,$p_separate=1,$reconcilied_document)
function export_all($p_array, Progress_Bar $progress,$p_separate=1,$reconcilied_document=2)
{
$this->progress=$this->progress;

View file

@ -76,7 +76,7 @@ elseif ($action=="send_email") :
if ($valid==true):
$request_id=generate_random_string(SIZE_REQUEST,special: 0);
$request_id=generate_random_string(SIZE_REQUEST, 0);
$user_password=generate_random_password(10);
// exist a valid request for this user ?
$exist_request= $cn->get_array("select request , password from recover_pass