summaryrefslogtreecommitdiff
path: root/linkshorter/index.php
diff options
context:
space:
mode:
authorroot2014-11-27 17:59:00 +0100
committerroot2014-11-27 17:59:00 +0100
commit08f3b8c3930ecc009f3473d9cae9e26ad17fb23d (patch)
treefcf7091769bb859da5856d42588f7774ed8452c0 /linkshorter/index.php
parent4f923b809b4e38e0639e253f428fb6c4df03ee67 (diff)
downloadtools.iamfabulous.de-08f3b8c3930ecc009f3473d9cae9e26ad17fb23d.tar.gz
Small improvements.
Diffstat (limited to 'linkshorter/index.php')
-rw-r--r--linkshorter/index.php2
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"] == "" )