Revision 428
Added by Matthias over 18 years ago
| settings2.php | ||
|---|---|---|
| 55 | 55 |
$menu = $admin->get_post('menu');
|
| 56 | 56 |
|
| 57 | 57 |
// Validate data |
| 58 |
if($page_title == '') {
|
|
| 58 |
if($page_title == '' || substr($menu_title,0,1)=='.') {
|
|
| 59 | 59 |
$admin->print_error($MESSAGE['PAGES']['BLANK_PAGE_TITLE']); |
| 60 | 60 |
} |
| 61 |
if($menu_title == '') {
|
|
| 61 |
if($menu_title == '' || substr($menu_title,0,1)=='.') {
|
|
| 62 | 62 |
$admin->print_error($MESSAGE['PAGES']['BLANK_MENU_TITLE']); |
| 63 | 63 |
} |
| 64 | 64 |
|
Also available in: Unified diff
Fixed ticket #380 (Thanks to pcwacht)