diff --git a/pages/ajax.render.php b/pages/ajax.render.php index 805fb3d35..77a09ca3d 100644 --- a/pages/ajax.render.php +++ b/pages/ajax.render.php @@ -2140,7 +2140,7 @@ EOF $oAttachment->Set('item_class', $sObjClass); $oAttachment->SetDefaultOrgId(); $oAttachment->Set('contents', $oDoc); - $oAttachment->Set('secret', bin2hex(random_bytes(16))); // 128 bits of entropy, cryptographically secure + $oAttachment->Set('secret', bin2hex(random_bytes(16))); // 128 bits of entropy, cryptographically secure $iAttId = $oAttachment->DBInsert(); $aResult['uploaded'] = 1;