Commit Diff


commit - c05bfb5d8dc4597d6e33eb726c18898fba059c21
commit + 7778664471978474be9f5b361beda24f6c53a632
blob - 2fb2793c86cab0b5f4c1912d69056ad5b68877b8
blob + a9e39fb8e353ac0cb20f80fdfa911dd00ba31ca0
--- 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;
 	}