Skip to content
Snippets Groups Projects
Commit fb44a9a4 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #0 add control

parent a92eea30
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,10 @@ if ($s_id == '') {
$_SESSION['error'] = _THE_DOC . ' ' . _IS_EMPTY;
header('location: ' . $_SESSION['config']['businessappurl'] . 'index.php');
exit();
} else if (!is_numeric($s_id)) {
$_SESSION['error'] = _FORMAT . ' ' . _UNKNOWN;
header('location: ' . $_SESSION['config']['businessappurl'] . 'index.php');
exit();
} else {
//2:retrieve the view
$table = '';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment