Changeset 137


Ignore:
Timestamp:
Sep 18, 2014 2:37:23 PM (11 years ago)
Author:
dungnv
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-bachkim-filespace/sourcecode/api.violet.vn/www/apps/platform/modules/space/actions/actions.class.php

    r136 r137  
    127127     
    128128    $tblfile = new Tblspacefile();
    129     $tblfile->setFileResource($currentFile);
     129    $tblfile->setFileResource($currentFile->getFileResource());
    130130    $tblfile->setFileCategory($destination);
    131131    $tblfile->setFileUser($userId);
    132132    $tblfile->setFileName($fileName);
     133    $tblfile->setFileType($currentFile->getFileType());
    133134    $tblfile->setFileDate(date('Y-m-d H:i:s'));
    134135    $tblfile->save();   
Note: See TracChangeset for help on using the changeset viewer.