Revision c1ac3891
Added by Phil Davis over 9 years ago
src/usr/local/www/services_pppoe_edit.php | ||
---|---|---|
88 | 88 |
|
89 | 89 |
if (is_numericint($_GET['id'])) { |
90 | 90 |
$id = $_GET['id']; |
91 |
|
|
92 |
if (isset($_POST['id']) && is_numericint($_POST['id'])) |
|
91 |
} |
|
92 |
if (isset($_POST['id']) && is_numericint($_POST['id'])) {
|
|
93 | 93 |
$id = $_POST['id']; |
94 | 94 |
} |
95 | 95 |
|
Also available in: Unified diff
services_pppoe_edit handle both GET and POST
This wacky logic would only have got to the $_POST checks if $_GET['id'] was already set.
I haven't looked to analyse it - but how would anything using $_POST have worked?