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:

details.php
1 1
<?php
2 2

  
3
// $Id: details.php,v 1.2 2005/04/02 06:25:37 rdjurovich Exp $
3
// $Id$
4 4

  
5 5
/*
6 6

  
......
29 29
$admin = new admin('Preferences');
30 30

  
31 31
// Get entered values
32
$display_name = addslashes($admin->get_post('display_name'));
32
$display_name = $admin->add_slashes($admin->get_post('display_name'));
33 33
$language = $admin->get_post('language');
34 34
$timezone = $admin->get_post('timezone')*60*60;
35 35
$date_format = $admin->get_post('date_format');

Also available in: Unified diff