Changeset 2521 for branches

Show
Ignore:
Timestamp:
02/09/08 15:52:47 (4 months ago)
Author:
francesco
Message:

"Fixed defect"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/php4/admin/topics/template.php

    r2428 r2521  
    5959        $title[] = array($row['name'],''); 
    6060        $te->ResourceSet($row['id_res']); 
     61        $template_topic = $row['id_topic']; 
     62        $template_group = $row['id_group']; 
    6163} 
    6264else 
    6365{ 
    6466        $title[] = array('add_new',''); 
     67        $template_topic = $id_topic; 
     68        $template_group = 0; 
    6569} 
    6670 
     
    101105include_once(SERVER_ROOT."/../classes/topics.php"); 
    102106$tt = new Topics; 
    103 echo $hh->input_topics($row['id_topic'],$row['id_group'],$tt->User($ah->current_user_id),"all_option",$input_right,true,"id_topic_or_group"); 
     107echo $hh->input_topics($template_topic,$template_group,$tt->User($ah->current_user_id),"all_option",$input_right,true,"id_topic_or_group"); 
    104108 
    105109$actions = array();