plugins/admin/PageManager.php
changeset 1124 1e956881d362
parent 1081 745200a9cc2a
child 1227 bdac73ed481e
equal deleted inserted replaced
1123:777f32ac6b7c 1124:1e956881d362
   148             }
   148             }
   149             
   149             
   150             // Field: page URL string
   150             // Field: page URL string
   151             $page_urlname = $_POST['page_urlname'];
   151             $page_urlname = $_POST['page_urlname'];
   152             $page_urlname = trim($_POST['page_urlname']);
   152             $page_urlname = trim($_POST['page_urlname']);
   153             if ( empty($page_urlname) && get_main_page() !== '' )
   153             if ( empty($page_urlname) && !have_blank_urlname_page() )
   154             {
   154             {
   155               $errors[] = $lang->get('acppm_err_invalid_url_string');
   155               $errors[] = $lang->get('acppm_err_invalid_url_string');
   156             }
   156             }
   157             else
   157             else
   158             {
   158             {