plugins/admin/PageManager.php
changeset 741 a216e412c439
parent 685 17ebe24cdf85
child 801 eb8b23f11744
--- a/plugins/admin/PageManager.php	Sat Nov 15 18:22:13 2008 -0500
+++ b/plugins/admin/PageManager.php	Sat Nov 15 18:23:25 2008 -0500
@@ -149,7 +149,7 @@
             // Field: page URL string
             $page_urlname = $_POST['page_urlname'];
             $page_urlname = trim($_POST['page_urlname']);
-            if ( empty($page_urlname) && getConfig('main_page') !== '' )
+            if ( empty($page_urlname) && get_main_page() !== '' )
             {
               $errors[] = $lang->get('acppm_err_invalid_url_string');
             }