Don't allow anonymous link posts.

This commit is contained in:
Michael R Sweet 2006-06-19 17:34:45 +00:00
parent 1e4dcf007b
commit 145bc93933

View File

@ -421,6 +421,12 @@ switch ($op)
break;
case 'U' : // Add or update category or listing...
if ($LOGIN_USER == "")
{
header("Location: login.php?PAGE=links.php?$op$type$id+P$parent_id");
return;
}
if ($id > 0)
{
// Get current link data from database...