diff --git a/README.md b/README.md index c7ab286..e76a79d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [LIVE DEMO](https://giandonatoinverso.it/qrcode) -[DOCUMENTATION](https://giandonatoinverso.it/documentation) +[DOCUMENTATION](https://giandonatoinverso.it/qrcode/documentation) [](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UEYVHYZYCGYYN) diff --git a/documentation/index.html b/documentation/index.html index d1e194d..f607923 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -84,6 +84,7 @@
Follow these steps to install the script locally:
The script checks the requirements, write permissions on the generated folders and creates a database with sample data
diff --git a/src/bulk_action.php b/src/bulk_action.php index 1c7e46b..d0956c0 100644 --- a/src/bulk_action.php +++ b/src/bulk_action.php @@ -6,16 +6,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { $db = getDbInstance(); $json = json_decode(file_get_contents('php://input'), true); - if (isset($json['action'])) { - $action = filter_var($json['action'], FILTER_SANITIZE_FULL_SPECIAL_CHARS); - } else { - echo json_encode([ - 'data' => 'Missing action field in the request.', - 'status' => 400 - ]); - exit(); - } - $params = $json['params']; $files = []; diff --git a/src/forms/form_dynamic_edit.php b/src/forms/form_dynamic_edit.php index 17c0c7b..868ceb3 100644 --- a/src/forms/form_dynamic_edit.php +++ b/src/forms/form_dynamic_edit.php @@ -47,6 +47,7 @@ if(isset($dynamic_qrcode['id_owner'])) { $owner = $users_instance->getUser($dynamic_qrcode['id_owner']); echo ""; + echo ""; } $users = $users_instance->getAllUsers();