Project

General

Profile

« Previous | Next » 

Revision 452

Added by Matthias about 17 years ago

again copied all changes for WB 2.6.6 from trunk to branches

View differences:

add.php
33 33

  
34 34
// Get values
35 35
$title = $admin->add_slashes($admin->get_post_escaped('title'));
36
$title = my_htmlspecialchars($title);
36 37
$module = $admin->get_post('type');
37 38
$parent = $admin->get_post('parent');
38 39
$visibility = $admin->get_post('visibility');
......
47 48
}	
48 49

  
49 50
// Validate data
50
if($title == '') {
51
if($title == '' || substr($title,0,1)=='.') {
51 52
	$admin->print_error($MESSAGE['PAGES']['BLANK_PAGE_TITLE']);
52 53
}
53 54

  

Also available in: Unified diff