if ($this->fetch_field('lastposter') == $this->registry->userinfo['username']) { $this->set('lastposter', $this->registry->userinfo['field5']); }