plugins/admin/PageManager.php
changeset 741 a216e412c439
parent 685 17ebe24cdf85
child 801 eb8b23f11744
equal deleted inserted replaced
740:098e744df928 741:a216e412c439
   147             }
   147             }
   148             
   148             
   149             // Field: page URL string
   149             // Field: page URL string
   150             $page_urlname = $_POST['page_urlname'];
   150             $page_urlname = $_POST['page_urlname'];
   151             $page_urlname = trim($_POST['page_urlname']);
   151             $page_urlname = trim($_POST['page_urlname']);
   152             if ( empty($page_urlname) && getConfig('main_page') !== '' )
   152             if ( empty($page_urlname) && get_main_page() !== '' )
   153             {
   153             {
   154               $errors[] = $lang->get('acppm_err_invalid_url_string');
   154               $errors[] = $lang->get('acppm_err_invalid_url_string');
   155             }
   155             }
   156             else
   156             else
   157             {
   157             {