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