Bernd Wurst commited on 2014-02-08 17:34:26
Zeige 1 geänderte Dateien mit 1 Einfügungen und 1 Löschungen.
| ... | ... |
@@ -35,7 +35,7 @@ if ($_GET['action'] == 'new') |
| 35 | 35 |
$key = $_POST['key']; |
| 36 | 36 |
} |
| 37 | 37 |
$oldcert = NULL; |
| 38 |
- if (isset($_REQUEST['replace'])) |
|
| 38 |
+ if (isset($_REQUEST['replace']) && is_numeric($_REQUEST['replace'])) |
|
| 39 | 39 |
{
|
| 40 | 40 |
$oldcert = cert_details($_REQUEST['replace']); |
| 41 | 41 |
} |
| 42 | 42 |