Changeset 902 for trunk/Common/Form


Ignore:
Timestamp:
Feb 18, 2021, 1:59:28 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Improved generation of contracts.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/Form/Types/File.php

    r887 r902  
    127127    $File = &$Item['Value'];
    128128    $Properties = array('Name' => $File->Name,
    129       'Size' => $File->GetSize(), 'Directory' => $File->Directory);
     129      'Size' => $File->GetSize(), 'Directory' => $File->Directory, 'Hash' => 'SHA1(CONCAT(Id,Name,Size,Time))');
    130130    $DbResult = $this->Database->select('File', '*', 'Id='.$File->Id);
    131131    if ($DbResult->num_rows > 0)
Note: See TracChangeset for help on using the changeset viewer.