diff options
Diffstat (limited to 'src/web/_model/apps/profile.php')
-rw-r--r-- | src/web/_model/apps/profile.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/_model/apps/profile.php b/src/web/_model/apps/profile.php index 16765d9..acec9c0 100644 --- a/src/web/_model/apps/profile.php +++ b/src/web/_model/apps/profile.php @@ -36,7 +36,7 @@ class Profile_model extends Model { if ($this->main->session) { $sid = $this->main->user()['id']; $res = $this->db->select('f.value, f.id') - ->from('admin.follow f') + ->from('xssbook.follow f') ->where('f.follower_id') ->eq($sid) ->where('f.followee_id') @@ -45,7 +45,7 @@ class Profile_model extends Model { $following = $res ? $res['value'] : FALSE; $follow_id = $res ? $res['id'] : NULL; $res = $this->db->select('f.value') - ->from('admin.follow f') + ->from('xssbook.follow f') ->where('f.follower_id') ->eq($uid) ->where('f.followee_id') |