|
@@ -40,7 +40,7 @@ class Relation
|
|
Dever::db('invite/relation')->delete(array('to_uid' => $uid));
|
|
Dever::db('invite/relation')->delete(array('to_uid' => $uid));
|
|
$this->set($parent, $uid);
|
|
$this->set($parent, $uid);
|
|
|
|
|
|
- $child = $this->getChild($uid);
|
|
|
|
|
|
+ $child = $this->getChild($uid, 1);
|
|
if ($child) {
|
|
if ($child) {
|
|
foreach ($child as $k => $v) {
|
|
foreach ($child as $k => $v) {
|
|
|
|
|