Jump to content


news.php



  • Please log in to reply
No replies to this topic

#1 OFFLINE   nicky

nicky

    Sr.Member

  • Community VIP
  • PipPipPip
  • 98 posts
  • Joined 1 Year, 9 Months and 15 Days

Posted 31 December 2010 - 11:10

open news.php edit
	$body = isset($_POST["body"]) ? (string)$_POST["body"] : 0;

	$body = sqlesc($body);

	if (!$body)
		error_message("error","Error","The News Item cannot be Empty!");
with
	$body = isset($_POST["body"]) ? (string)$_POST["body"] : 0;

	

	if (!$body)
		error_message("error","Error","The News Item cannot be Empty!");
        
        $body = sqlesc($body);

before body is empty
screen

Attached Files

  • Attached File  1.png   29.73K   1 downloads
  • Attached File  2.png   3.72K   2 downloads

Edited by nicky, 31 December 2010 - 11:13.






Also tagged with

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users