#4356 abgeschnittene GC-Wegpunkte durch Leerzeicheneingabe
This commit is contained in:
@ -282,10 +282,11 @@
|
||||
tpl_set_var('log_pw', htmlspecialchars($log_pw, ENT_COMPAT, 'UTF-8'));
|
||||
|
||||
// gc- and nc-waypoints
|
||||
$wp_gc = isset($_POST['wp_gc']) ? $_POST['wp_gc'] : '';
|
||||
// fix #4356: gc waypoints are frequently copy&pasted with leading spaces
|
||||
$wp_gc = isset($_POST['wp_gc']) ? trim($_POST['wp_gc']) : '';
|
||||
tpl_set_var('wp_gc', htmlspecialchars($wp_gc, ENT_COMPAT, 'UTF-8'));
|
||||
|
||||
$wp_nc = isset($_POST['wp_nc']) ? $_POST['wp_nc'] : '';
|
||||
$wp_nc = isset($_POST['wp_nc']) ? trim($_POST['wp_nc']) : '';
|
||||
tpl_set_var('wp_nc', htmlspecialchars($wp_nc, ENT_COMPAT, 'UTF-8'));
|
||||
|
||||
//difficulty
|
||||
|
Reference in New Issue
Block a user