Commit Diff
--- index.php +++ index.php @@ -67,7 +67,7 @@ function find_short($hash, $mysqli) { if (isset($_POST['url'])) { if ($_POST['url'] != '' && strlen($_POST['url']) > 0) { $db = db_connect(); - $link = generate_short($_POST['url' , $db); + $link = generate_short($_POST['url'], $db); } else { $link = false; }