Fix an error on the news edit page.

This commit is contained in:
Jeff Teunissen 2007-03-18 04:37:46 +00:00
parent 67a3d7bb36
commit 3de7bfd43d

View file

@ -65,10 +65,14 @@
need ('boxes sql table');
global $newsID = $_GET['newsID'];
global $newsID;
global $newsText = $_POST['newsText'];
global $newsUser = $_POST['newsUser'];
$newsID = $_GET['newsID'];
$newsText = $_POST['newsText'];
$newsUser = $_POST['newsUser'];
if ($newsID) {
if ($newsUser && $newsText) {
$newsText = addSlashes ($newsText);