Changeset 5343

Show
Ignore:
Timestamp:
02/21/08 23:51:00 (9 months ago)
Author:
inureyes
Message:

#703

  • 블로그 삭제 관련 버그 추적중.
  • 블로그를 삭제하면 삭제는 되지만 오류 메세지가 나옴.
Location:
trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/interface/owner/control/action/blog/delete/index.php

    r5339 r5343  
    2525    } 
    2626} 
    27         respond::PrintResult(array('error' => 0 , 'result' =>$suri['id'])); 
     27respond::PrintResult(array('error' => 0 , 'result' =>$suri['id'])); 
    2828?> 
  • trunk/interface/owner/control/blog/detail/index.php

    r5342 r5343  
    3737                         
    3838                        function deleteBlog(bid) { 
    39                             if (!confirm("<?php echo _t('되돌릴 수 없습니다.');?>\t\n\n<?php echo _t('계속 진행하시겠습니까?');?>")) return false; 
     39                            if (!confirm("<?php echo _t('되돌릴 수 없습니다.');?>\t\n\n<?php echo _t('계속 진행 하시겠습니까?');?>")) return false; 
    4040                            var request = new HTTPRequest("GET", "<?php echo $blogURL;?>/owner/control/action/blog/delete/?item="+bid); 
    4141                            request.onSuccess = function() { 
  • trunk/lib/model/blog.blogSetting.php

    r5285 r5343  
    533533    if (count($tags) > 0)  
    534534    { 
    535         $tagliststr = implode(', ', $tags); 
    536         $nottargets = POD::queryColumn("SELECT DISTINCT tag FROM {$database['prefix']}TagRelations WHERE tag in ( $tagliststr )"); 
     535        $tagliststr = implode(', ', $tags); // Tag id used at deleted blog. 
     536        $nottargets = POD::queryColumn("SELECT DISTINCT tag FROM {$database['prefix']}TagRelations WHERE tag in ( $tagliststr )");  // Tag id used at other blogs. 
    537537        if (count($nottargets) > 0) { 
    538538            $nottargetstr   = implode(', ', $nottargets);