summary refs log tree commit diff stats
path: root/admin/editLink.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/editLink.php')
-rwxr-xr-xadmin/editLink.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/editLink.php b/admin/editLink.php index f3ba9cc..2bc86ab 100755 --- a/admin/editLink.php +++ b/admin/editLink.php
@@ -74,10 +74,10 @@ if (isset($_GET['submit']))
74 $template->adds_block('FLASH', array('TEXT' => 'Your link has been sucessfully edited.')); 74 $template->adds_block('FLASH', array('TEXT' => 'Your link has been sucessfully edited.'));
75 } 75 }
76 76
77 $template->add('TITLEVALUE', htmlentities($_POST['title'])); 77 $template->add('TITLEVALUE', htmlspecialchars($_POST['title']));
78 $template->add('URLVALUE', $_POST['url']); 78 $template->add('URLVALUE', $_POST['url']);
79} else { 79} else {
80 $template->add('TITLEVALUE', htmlentities($getlink3['title'])); 80 $template->add('TITLEVALUE', htmlspecialchars($getlink3['title']));
81 $template->add('URLVALUE', $getlink3['url']); 81 $template->add('URLVALUE', $getlink3['url']);
82} 82}
83 83