- FIX

parent 23d00a37
......@@ -214,6 +214,7 @@ class TriggerTrigger extends \common\components\ActiveRecordModel
* @return string
*/
public function initAction($params=array()){
return true;
$email = (!Yii::$app->user->isGuest) ? Yii::$app->user->identity->email : null;
if ($email===null && array_key_exists('email', $params))
$email = $params['email'];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment