mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-27 06:22:31 +00:00
Fix an error on the news edit page.
This commit is contained in:
parent
67a3d7bb36
commit
3de7bfd43d
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue