Ignore:
Timestamp:
Jul 24, 2014 3:21:42 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

    r25 r26  
    8585   
    8686    // find parent ID of this category
    87     /* if ($this->catId != -1) {
     87    if ($this->catId != -1) {
    8888      $c = new Criteria();
    8989      $c->add(TblspacecategoryPeer::CAT_ID, $this->catId);
     
    9292      $this->parentId = $thisCat? $thisCat->getCatParent(): '-1';
    9393    }
    94     else */ $this->parentId = '';
     94    else $this->parentId = '';
    9595
    9696    // find subcategory of this category
    9797    $c = new Criteria();
    98     //$c->add(TblspacecategoryPeer::CAT_PARENT, $this->catId);
     98    $c->add(TblspacecategoryPeer::CAT_PARENT, $this->catId);
    9999    $c->add(TblspacecategoryPeer::CAT_USER, $userId);
    100100    $c->addAscendingOrderByColumn(TblspacecategoryPeer::CAT_NAME);
Note: See TracChangeset for help on using the changeset viewer.