mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
N°1852 Fix loss of inline images and attachments when user has been logged off
This commit is contained in:
@@ -527,7 +527,7 @@ class utils
|
||||
/**
|
||||
* Returns a unique tmp id for the current upload based on the transaction system (db).
|
||||
*
|
||||
* Build as session_id() . '_' . static::GetNewTransactionId()
|
||||
* Build as static::GetNewTransactionId()
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
@@ -537,7 +537,7 @@ class utils
|
||||
{
|
||||
$sTransactionId = static::GetNewTransactionId();
|
||||
}
|
||||
return session_id() . '_' . $sTransactionId;
|
||||
return $sTransactionId;
|
||||
}
|
||||
|
||||
public static function ReadFromFile($sFileName)
|
||||
|
||||
Reference in New Issue
Block a user