mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-22 17:50:22 -05:00
Use double equals in PHP
This commit is contained in:
parent
94c31b1ff4
commit
55db186a2c
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class SubscriptionController extends Controller {
|
|||
|
||||
$name = $request['name'];
|
||||
$fname = preg_replace('/ .*$/', '', $name);
|
||||
$lname = preg_match('/. ./', $name) === 1 ? preg_replace('/^[^ ][^ ]* /', '', $name) : '';
|
||||
$lname = preg_match('/. ./', $name) == 1 ? preg_replace('/^[^ ][^ ]* /', '', $name) : '';
|
||||
$email = $request['email'];
|
||||
|
||||
if (env('MAILCHIMP_APIKEY') != null && env('MAILCHIMP_LISTID') != null) {
|
||||
|
|
Loading…
Reference in a new issue