Commit 3765ffaf2965c5827c8054aacb3dd0ebec16e946
1 parent
c6b37322
Exists in
master
and in
9 other branches
isset GET
Showing
2 changed files
with
6 additions
and
2 deletions
Show diff stats
src/DDSERVICES/REST/getLastUpdate.php
... | ... | @@ -6,8 +6,10 @@ |
6 | 6 | * @version $Id: $ |
7 | 7 | */ |
8 | 8 | |
9 | - if (!$_GET['id']) exit('INPUT ERROR'); | |
9 | + if (!isset($_GET['id'])) exit('INPUT ERROR'); | |
10 | + | |
10 | 11 | require_once './DDserverWeb_ini.php'; |
12 | + | |
11 | 13 | error_reporting(E_ERROR | E_WARNING | E_PARSE); |
12 | 14 | |
13 | 15 | $replace = array("-" => "_"); | ... | ... |
src/DDSERVICES/REST/getStartStop.php
... | ... | @@ -6,8 +6,10 @@ |
6 | 6 | * @version $Id: $ |
7 | 7 | */ |
8 | 8 | |
9 | - if (!$_GET['id']) exit('INPUT ERROR'); | |
9 | + if (!isset($_GET['id'])) exit('INPUT ERROR'); | |
10 | + | |
10 | 11 | require_once './DDserverWeb_ini.php'; |
12 | + | |
11 | 13 | error_reporting(E_ERROR | E_WARNING | E_PARSE); |
12 | 14 | |
13 | 15 | $replace = array("-" => "_"); | ... | ... |