Dotclear


Ignore:
Timestamp:
10/18/13 16:51:03 (12 years ago)
Author:
Dsls
Branch:
2.6
Message:

Fixed notice in tag_posts.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/tags/tag_posts.php

    r2322 r2439  
    1212if (!defined('DC_CONTEXT_ADMIN')) { return; } 
    1313 
    14 $tag = (!empty($_REQUEST['tag']) || $_REQUEST['tag'] == '0') ? $_REQUEST['tag'] : ''; 
     14$tag = isset($_REQUEST['tag']) ? $_REQUEST['tag'] : ''; 
    1515 
    1616$this_url = $p_url.'&m=tag_posts&tag='.rawurlencode($tag); 
     
    2121 
    2222# Rename a tag 
    23 if (!empty($_POST['new_tag_id']) || $_POST['new_tag_id'] == '0') 
     23if (isset($_POST['new_tag_id'])) 
    2424{ 
    2525     $new_id = dcMeta::sanitizeMetaID($_POST['new_tag_id']); 
     
    124124          echo '</div>'; 
    125125     } 
    126       
     126 
    127127     # Show posts 
    128128     echo '<h4 class="vertical-separator pretty-title">'.sprintf(__('List of entries with the tag “%s”'),html::escapeHTML($tag)).'</h4>'; 
    129129     $post_list->display($page,$nb_per_page, 
    130130     '<form action="plugin.php" method="post" id="form-entries">'. 
    131       
     131 
    132132     '%s'. 
    133       
     133 
    134134     '<div class="two-cols">'. 
    135135     '<p class="col checkboxes-helpers"></p>'. 
    136       
     136 
    137137     '<p class="col right"><label for="action" class="classic">'.__('Selected entries action:').'</label> '. 
    138138     form::combo('action',$posts_actions_page->getCombo()). 
Note: See TracChangeset for help on using the changeset viewer.

Sites map