diff options
Diffstat (limited to 'linkshorter/index.php')
| -rw-r--r-- | linkshorter/index.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linkshorter/index.php b/linkshorter/index.php index 8d05977..3f96ee3 100644 --- a/linkshorter/index.php +++ b/linkshorter/index.php @@ -48,6 +48,8 @@ if ( ! isset($_REQUEST['url']) || $_REQUEST['url'] == "" ){ _do_output("Failure!", "Your Lifetime doesn't look like a valid number."); } $options["ttl"] = $_REQUEST["ttl"]; + if ( $options["ttl"] == 0 ) + $options["ttl"] = ""; } if ( ! isset($_REQUEST["password"]) || $_REQUEST["password"] == "" ) |
