Plugin Directory

Changeset 2167395


Ignore:
Timestamp:
10/03/2019 07:58:50 AM (7 years ago)
Author:
thanminhtu
Message:

fix Bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • advanced-slug-translate/trunk/inc/index.php

    r1738097 r2167395  
    6565                                        }
    6666                                    ?>
    67                                     <input type="checkbox" id="astrans_pages" <?php if($astrans_trans_for['astrans_pages'] == '1') echo 'checked'; ?>/><label for="astrans_pages" class="label_check">Pages</label>
    68                                     <input type="checkbox" id="astrans_posts" <?php if($astrans_trans_for['astrans_posts'] == '1') echo 'checked'; ?>/><label for="astrans_posts" class="label_check">Posts</label>
    69                                     <input type="checkbox" id="astrans_cate" <?php if($astrans_trans_for['astrans_cate'] == '1') echo 'checked'; ?>/><label for="astrans_cate" class="label_check">Category</label>
     67                                    <input type="checkbox" id="astrans_pages" <?php if(isset($astrans_trans_for['astrans_pages']) && $astrans_trans_for['astrans_pages'] == '1') echo 'checked'; ?>/><label for="astrans_pages" class="label_check">Pages</label>
     68                                    <input type="checkbox" id="astrans_posts" <?php if(isset($astrans_trans_for['astrans_posts']) && $astrans_trans_for['astrans_posts'] == '1') echo 'checked'; ?>/><label for="astrans_posts" class="label_check">Posts</label>
     69                                    <input type="checkbox" id="astrans_cate" <?php if(isset($astrans_trans_for['astrans_cate']) && $astrans_trans_for['astrans_cate'] == '1') echo 'checked'; ?>/><label for="astrans_cate" class="label_check">Category</label>
    7070                                </div>
    7171                            </div>
Note: See TracChangeset for help on using the changeset viewer.