From 145bc93933f01294467d0d9458d951940fb604bd Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 19 Jun 2006 17:34:45 +0000 Subject: [PATCH] Don't allow anonymous link posts. --- www/links.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www/links.php b/www/links.php index e3880bf..aaa4222 100644 --- a/www/links.php +++ b/www/links.php @@ -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...