Project

General

Profile

« Previous | Next » 

Revision 40

Added by stefan about 19 years ago

Change addslashes,stripslashes to (wb class) method calls add_slashes,strip_slashes

View differences:

save_group.php
1 1
<?php
2 2

  
3
// $Id: save_group.php,v 1.3 2005/03/27 05:25:32 rdjurovich Exp $
3
// $Id$
4 4

  
5 5
/*
6 6

  
......
43 43
if($admin->get_post('title') == '') {
44 44
	$admin->print_error($MESSAGE['GENERIC']['FILL_IN_ALL'], WB_URL.'/modules/news/modify_group.php?page_id='.$page_id.'&section_id='.$section_id.'&group_id='.$group_id);
45 45
} else {
46
	$title = addslashes($admin->get_post('title'));
46
	$title = $admin->add_slashes($admin->get_post('title'));
47 47
	$active = $admin->get_post('active');
48 48
}
49 49

  

Also available in: Unified diff