/** * Overriding Yii's implementation to make sure that session has been started before calling. * * @param string $key * * @return bool|void */ public function hasState($key) { // Ensure session is open first. craft()->session->open(); return parent::hasState($key); }
/** * {@inheritDoc} * @see CWebUser::hasState() */ public function hasState($key) { return parent::hasState($key); }