Changeset 26 for pro-bachkim-filespace/sourcecode/api.violet.vn
- Timestamp:
- Jul 24, 2014 3:21:42 PM (11 years ago)
- 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 85 85 86 86 // find parent ID of this category 87 /*if ($this->catId != -1) {87 if ($this->catId != -1) { 88 88 $c = new Criteria(); 89 89 $c->add(TblspacecategoryPeer::CAT_ID, $this->catId); … … 92 92 $this->parentId = $thisCat? $thisCat->getCatParent(): '-1'; 93 93 } 94 else */$this->parentId = '';94 else $this->parentId = ''; 95 95 96 96 // find subcategory of this category 97 97 $c = new Criteria(); 98 //$c->add(TblspacecategoryPeer::CAT_PARENT, $this->catId);98 $c->add(TblspacecategoryPeer::CAT_PARENT, $this->catId); 99 99 $c->add(TblspacecategoryPeer::CAT_USER, $userId); 100 100 $c->addAscendingOrderByColumn(TblspacecategoryPeer::CAT_NAME);
Note: See TracChangeset
for help on using the changeset viewer.