このコミットが含まれているのは:
守矢諏訪子 2021-12-03 14:21:21 +09:00
コミット 8ef7a67314
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -87,7 +87,7 @@ class Contact {
// 文章
if (!isset($this->field['bunsyo']) || is_null($this->field['bunsyo']) || $this->field['bunsyo'] == '') $err[] = '文章をご入力下さい。';
if (str_contains($this->field['bunsyo'], 'http://') || str_contains($this->field['bunsyo'], 'https://')) $err[] = '文章でURLを入らないで下さい。';
$this->field['bunsyo'] = $gpg->encrypt(trim("メール: ".$this->field['adr']."\n\n".$this->field['bunsyo']));
if (isset($this->field['gpg'])) $this->field['bunsyo'] = $gpg->encrypt(trim("メール: ".$this->field['adr']."\n\n".$this->field['bunsyo']));
// 連絡ルール
if (!$this->field['ruleapply']) $err[] = 'ルールを同意して下さい。';