missing ]
This commit is contained in:
parent
c05bfb5d8d
commit
7778664471
|
@ -67,7 +67,7 @@ function find_short($hash, $mysqli) {
|
||||||
if (isset($_POST['url'])) {
|
if (isset($_POST['url'])) {
|
||||||
if ($_POST['url'] != '' && strlen($_POST['url']) > 0) {
|
if ($_POST['url'] != '' && strlen($_POST['url']) > 0) {
|
||||||
$db = db_connect();
|
$db = db_connect();
|
||||||
$link = generate_short($_POST['url' , $db);
|
$link = generate_short($_POST['url'], $db);
|
||||||
} else {
|
} else {
|
||||||
$link = false;
|
$link = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue