Case-insensitive noko
This commit is contained in:
parent
87003407c1
commit
60591625a3
2
post.php
2
post.php
@ -267,7 +267,7 @@
|
|||||||
$post['name'] = $trip[0];
|
$post['name'] = $trip[0];
|
||||||
$post['trip'] = (isset($trip[1])?$trip[1]:'');
|
$post['trip'] = (isset($trip[1])?$trip[1]:'');
|
||||||
|
|
||||||
if($post['email'] == 'noko') {
|
if(strtolower($post['email']) == 'noko') {
|
||||||
$noko = true;
|
$noko = true;
|
||||||
$post['email'] = '';
|
$post['email'] = '';
|
||||||
} else $noko = false;
|
} else $noko = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user