Dotclear

Changeset 2341


Ignore:
Timestamp:
06/09/10 11:01:26 (13 years ago)
Author:
bruno
Message:

Small bugfix

Location:
plugins/mymeta/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/mymeta/trunk/class.mymeta.php

    r2340 r2341  
    309309                    $inSection=true; 
    310310               } elseif ($meta->enabled) { 
    311                     if (!isset($post) || $meta->isEnabledFor($post->post_type)) { 
     311                    if (!isset($post) || !isset($post->post_type) || 
     312                         $meta->isEnabledFor($post->post_type)) { 
    312313                         if (!$inSection) { 
    313314                              $res .= '<fieldset><legend>'.__('My Meta').'</legend>'; 
  • plugins/mymeta/trunk/index_view_posts.php

    r2335 r2341  
    2626$value = rawurldecode($_GET['value']); 
    2727 
    28 $this_url = $p_url.'&amp;m=viewposts&amp;id='.$mymetaEntry->id.'&amp;value='.$value; 
     28$this_url = $p_url.'&amp;m=viewposts&amp;id='.$mymetaEntry->id.'&amp;value='.rawurlencode($value); 
    2929 
    3030 
Note: See TracChangeset for help on using the changeset viewer.

Sites map