Changeset 6942


Ignore:
Timestamp:
09/16/10 17:52:36 (10 years ago)
Author:
flop25
Message:

correction for comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/adult_content/main.inc.php

    r6941 r6942  
    3333function comment_manage() 
    3434{ 
    35         global $user, $template; 
     35        global $user, $template, $conf; 
     36        if ( isset($conf['comments_forall']) ) { 
    3637        if ( ($user['username']=='18' or $user['username']=='16') and !$conf['comments_forall'] ) 
    3738        { 
    3839                $template->clear_assign('comment_add'); 
    39         } 
     40        }} 
    4041} 
    4142$adult_content = new Adultcontent($plugin_name, $plugin_path); 
Note: See TracChangeset for help on using the changeset viewer.