Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
burpheart committed Aug 14, 2020
1 parent 3412ac7 commit 2197930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linksmanage.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
$url = ($_POST['url']);
$title = ($_POST['title']);
if (!$name && !$url && !$title) { header("Location: linksmanage.php"); die();}
sql_query("UPDATE links SET name = ".sqlesc($_POST['linkname']).", url = ".sqlesc($_POST['url']).", title = ".sqlesc($_POST['title'])." WHERE id = '".$_POST['id']."'") or sqlerr(__FILE__, __LINE__);
sql_query("UPDATE links SET name = ".sqlesc($_POST['linkname']).", url = ".sqlesc($_POST['url']).", title = ".sqlesc($_POST['title'])." WHERE id = '".sqlesc($_POST['id'])."'") or sqlerr(__FILE__, __LINE__);
$Cache->delete_value('links');
header("Location: linksmanage.php");
die();
Expand Down

0 comments on commit 2197930

Please sign in to comment.