mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Fix View After Delete and turn it into a switch
This commit is contained in:
2
ajax.php
2
ajax.php
@@ -251,7 +251,7 @@ if (isset($_GET['share_generate_link'])) {
|
||||
$item_id = intval($_GET['id']);
|
||||
$item_email = sanitizeInput($_GET['contact_email']);
|
||||
$item_note = sanitizeInput($_GET['note']);
|
||||
$item_view_limit = intval($_GET['views'] ?? 0);
|
||||
$item_view_limit = intval($_GET['views']);
|
||||
$item_expires = sanitizeInput($_GET['expires']);
|
||||
$item_expires_friendly = "never"; // default never
|
||||
if ($item_expires == "1 HOUR") {
|
||||
|
||||
Reference in New Issue
Block a user