mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-08 13:39:58 +00:00
Don't allow anonymous link posts.
This commit is contained in:
parent
1e4dcf007b
commit
145bc93933
@ -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...
|
||||
|
Loading…
Reference in New Issue
Block a user