equal
deleted
inserted
replaced
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 { |