Project

General

Profile

« Previous | Next » 

Revision 359

Added by ryan over 18 years ago

Fixed problems that were created in changeset 353

View differences:

trunk/wb/admin/preferences/details.php
29 29
$admin = new admin('Preferences');
30 30

  
31 31
// Get entered values
32
$display_name = $wb->add_slashes(strip_tags($admin->get_post('display_name')));
32
$display_name = $admin->add_slashes(strip_tags($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');
trunk/wb/admin/preferences/email.php
48 48
	$admin->print_error($MESSAGE['USERS']['INVALID_EMAIL']);
49 49
}
50 50

  
51
$email = $wb->add_slashes($email);
51
$email = $admin->add_slashes($email);
52 52

  
53 53
// Update the database
54 54
$database = new database();

Also available in: Unified diff