Case-insensitive noko

This commit is contained in:
Savetheinternet 2011-03-28 15:52:02 +11:00
parent 87003407c1
commit 60591625a3

View File

@ -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;