1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00

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['trip'] = (isset($trip[1])?$trip[1]:'');
if($post['email'] == 'noko') {
if(strtolower($post['email']) == 'noko') {
$noko = true;
$post['email'] = '';
} else $noko = false;