mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-06 14:44:24 +01:00
post.php: fix spaces
This commit is contained in:
parent
c16d7a1aea
commit
27c0a44751
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…
x
Reference in New Issue
Block a user