File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,10 +112,10 @@ function setAccount(int $email_account): self
112
112
$ this ->_email_account = $ ac ;
113
113
$ this ->_mail_server = $ svr ;
114
114
115
- $ this ->_connection_type = get_post_meta ($ this ->_mail_server ->ID , 'conn_type ' , null )[0 ] ?? null ;
115
+ $ this ->_connection_type = get_post_meta ($ this ->_mail_server ->ID , 'connection_type ' , null )[0 ] ?? null ;
116
116
$ this ->_connection_type = array_key_exists ($ this ->_connection_type , DataList::get ('email_connection ' )) ? $ this ->_connection_type : null ;
117
117
118
- $ this ->_host = get_post_meta ($ this ->_mail_server ->ID , 'hostname ' , null )[0 ] ?? null ;
118
+ $ this ->_host = get_post_meta ($ this ->_mail_server ->ID , 'host ' , null )[0 ] ?? null ;
119
119
120
120
$ this ->_port = get_post_meta ($ this ->_mail_server ->ID , 'port ' , null )[0 ] ?? null ;
121
121
$ this ->_port = ctype_digit ((string ) $ this ->_port ) ? (int ) $ this ->_port : null ;
You can’t perform that action at this time.
0 commit comments