Commit 1ce202fe authored by Chris Graham's avatar Chris Graham
Browse files

Fixed MANTIS-4466 (Couple of bugs on Comcode page edit list screen)

parent 072c5672
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -233,7 +233,7 @@ class Module_cms_comcode_pages
                }

                $located = _request_page($page, $zone, null, $lang);
                if ($located !== false && $located[0] != 'REDIRECT') {
                if (($located !== false) && (strpos($located[0], 'COMCODE') !== false)) {
                    $_full_path = $located[count($located) - 1];
                    $full_path = get_custom_file_base() . '/' . $_full_path;
                    if (!is_file($full_path)) {
@@ -693,7 +693,7 @@ class Module_cms_comcode_pages

        // Render...

        $post_url = build_url(array('page' => '_SELF'), '_SELF', null, true);
        $post_url = build_url(array('page' => '_SELF'), '_SELF');
        $hidden = build_keep_post_fields(array('filter'));

        $tpl = do_template('COMCODE_PAGE_MANAGE_SCREEN', array(