Dotclear

Changeset 3097


Ignore:
Timestamp:
02/04/12 00:01:53 (11 years ago)
Author:
Moe
Message:

Contribute 1.0-alpha34: fixed bug with old parameter?

Location:
plugins/contribute
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/contribute/_define.php

    r3037 r3097  
    2828     /* Description*/                "Allow visitors to write an entry for your blog", 
    2929     /* Author */                    "Moe (http://gniark.net/)", 
    30      /* Version */                   '1.0-alpha33', 
     30     /* Version */                   '1.0-alpha34', 
    3131     /* Permissions */               'admin' 
    3232); 
  • plugins/contribute/_public.php

    r2940 r3097  
    108108     public static function coreBlogGetPosts($rs) 
    109109     { 
    110           global $core; 
    111            
    112           $core->blog->settings->addNamespace('contribute'); 
    113110          if ($GLOBALS['core']->blog->settings->contribute->contribute_active) 
    114111          { 
     
    163160          { 
    164161               $author_format =  
    165                     $GLOBALS['core']->blog->settings->contribute_author_format; 
     162                    (string) $GLOBALS['core']->blog->settings->contribute->contribute_author_format; 
    166163                
    167164               if (empty($author_format)) {$author_format = '%s';} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map