Ignore:
Timestamp:
Sep 11, 2014 2:18:56 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

    r78 r79  
    265265    $aryTreeObj = json_decode($data);
    266266
    267     /* if (is_array($aryTreeObj)) {
     267    if (is_array($aryTreeObj)) {
    268268        foreach ($aryTreeObj as $key => $treeObj){;
    269                 if ($treeObj.type == 'directory') {
     269                if ($treeObj->type == 'directory') {
    270270                        $this->CopySpaceDir($treeObj, $destination, $userId, $aryNewTree);
    271271                }
    272272                else {
    273                         $aryNewTree['FILES'] = $this->CopySpaceFile($treeObj.id, $destination, $userid);
     273                        $aryNewTree['FILES'] = $this->CopySpaceFile($treeObj->id, $destination, $userid);
    274274                }
    275275        }
    276     } */
     276    }
    277277   
    278278    $this->aryNewTree = $data;
Note: See TracChangeset for help on using the changeset viewer.