Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 57930cf

Browse files
bug fix and documentation
1 parent 6682a20 commit 57930cf

File tree

4 files changed

+3
-11
lines changed

4 files changed

+3
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[LIVE DEMO](https://giandonatoinverso.it/qrcode)
66

7-
[DOCUMENTATION](https://giandonatoinverso.it/documentation)
7+
[DOCUMENTATION](https://giandonatoinverso.it/qrcode/documentation)
88

99
[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UEYVHYZYCGYYN)
1010

documentation/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ <h2> Setup</h2>
8484
<p><u>Follow these steps to install the script locally:</u></p>
8585
<ol><strong>
8686
<li>Clone the project from github</li>
87+
<li>Use src/ folder as Document Root of your webserver</li>
8788
<li>Edit config/environment.php with your database credential</li>
8889
<li>Launch install/setup.php file in your browser </li>
8990
<p>The script checks the requirements, write permissions on the generated folders and creates a database with sample data</p>

src/bulk_action.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,6 @@
66
$db = getDbInstance();
77
$json = json_decode(file_get_contents('php://input'), true);
88

9-
if (isset($json['action'])) {
10-
$action = filter_var($json['action'], FILTER_SANITIZE_FULL_SPECIAL_CHARS);
11-
} else {
12-
echo json_encode([
13-
'data' => 'Missing action field in the request.',
14-
'status' => 400
15-
]);
16-
exit();
17-
}
18-
199
$params = $json['params'];
2010
$files = [];
2111

src/forms/form_dynamic_edit.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
if(isset($dynamic_qrcode['id_owner'])) {
4848
$owner = $users_instance->getUser($dynamic_qrcode['id_owner']);
4949
echo "<option selected value=\"" . $owner["id"] . "\">" . $owner["username"] . "</option>";
50+
echo "<option value=\"\">All</option>";
5051
}
5152

5253
$users = $users_instance->getAllUsers();

0 commit comments

Comments
 (0)