post.php: fix spaces
This commit is contained in:
parent
6d1cb03a3d
commit
533443ac79
4
post.php
4
post.php
@ -402,14 +402,14 @@ if (isset($_POST['delete'])) {
|
|||||||
$post['name'] = $trip[0];
|
$post['name'] = $trip[0];
|
||||||
$post['trip'] = isset($trip[1]) ? $trip[1] : '';
|
$post['trip'] = isset($trip[1]) ? $trip[1] : '';
|
||||||
|
|
||||||
$noko = false;
|
$noko = false;
|
||||||
if (strtolower($post['email']) == 'noko') {
|
if (strtolower($post['email']) == 'noko') {
|
||||||
$noko = true;
|
$noko = true;
|
||||||
$post['email'] = '';
|
$post['email'] = '';
|
||||||
} elseif (strtolower($post['email']) == 'nonoko'){
|
} elseif (strtolower($post['email']) == 'nonoko'){
|
||||||
$noko = false;
|
$noko = false;
|
||||||
$post['email'] = '';
|
$post['email'] = '';
|
||||||
}else $noko = $config['always_noko'];
|
} else $noko = $config['always_noko'];
|
||||||
|
|
||||||
if ($post['has_file']) {
|
if ($post['has_file']) {
|
||||||
$post['extension'] = strtolower(mb_substr($post['filename'], mb_strrpos($post['filename'], '.') + 1));
|
$post['extension'] = strtolower(mb_substr($post['filename'], mb_strrpos($post['filename'], '.') + 1));
|
||||||
|
Loading…
Reference in New Issue
Block a user