summary refs log tree commit diff stats
path: root/admin/newLink.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/newLink.php')
-rwxr-xr-xadmin/newLink.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/newLink.php b/admin/newLink.php index 90313bd..abedb81 100755 --- a/admin/newLink.php +++ b/admin/newLink.php
@@ -80,7 +80,7 @@ if (isset($_GET['submit']))
80 $template->add('TYPEDISABLED', ' readonly="readonly"'); 80 $template->add('TYPEDISABLED', ' readonly="readonly"');
81 } 81 }
82 82
83 $template->add('TITLEVALUE', htmlentities($_POST['title'])); 83 $template->add('TITLEVALUE', htmlspecialchars($_POST['title']));
84 $template->add('URLVALUE', $_POST['url']); 84 $template->add('URLVALUE', $_POST['url']);
85 $template->add(strtoupper($_POST['type']) . 'SELECTED', ' checked="checked"'); 85 $template->add(strtoupper($_POST['type']) . 'SELECTED', ' checked="checked"');
86} else { 86} else {