Skip to content

Commit

Permalink
Ticket #283
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyUna committed Feb 7, 2024
1 parent 75fc14f commit 912e608
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions classes/BxMessengerModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ public function actionSend(){
$CNF = &$this->_oConfig->CNF;
if (!empty($aLastJotInfo) && isset($aData['tmp_id'])) {
$iTimer = $aLastJotInfo[$CNF['FIELD_MESSAGE_ADDED']];
$iCurrent = $aData['tmp_id']/1000;
$iCurrent = intval($aData['tmp_id']/1000);
if (($iCurrent - $iTimer) > $CNF['DATE-SHIFT'])
$mixedResult['separator'] = $this->_oTemplate->getDateSeparator($iCurrent);
}
Expand Down Expand Up @@ -3560,7 +3560,6 @@ function actionUpdateUploadedFiles(){
unset($aFilesData[BX_ATT_TYPE_FILES_UPLOADING]);
}

//$sFilesList = implode(',', $aSuccessfulFiles );
if (!empty($aFilesData[BX_ATT_TYPE_FILES]))
$aFilesData[BX_ATT_TYPE_FILES] = @unserialize($aFilesData[BX_ATT_TYPE_FILES]) + $aSuccessfulFiles;// . ",{$sFilesList}";
else
Expand Down

0 comments on commit 912e608

Please sign in to comment.