- WHERE uid = {?} AND FIND_IN_SET('primary', flags)", $this->user->id());
- $this->entryYear = $res->fetchOneCell();
- $this->oldGradYear = $this->entryYear + 3;
+ WHERE pid = {?} AND FIND_IN_SET('primary', flags)", $this->user->profile()->id());
+ $years = $res->fetchOneRow();
+ $this->entryYear = $years[0];
+ $this->oldGradYear = $years[1];