Show
Ignore:
Timestamp:
02/29/08 18:13:52 (10 months ago)
Author:
gendoh
Message:

#710 : getEntry의 리턴값 미지정 케이스에 따라 오동작 가능성 있는 부분 수정. : entry가 발견이 안되면 null 리턴, 이 값을 사용하는 모든 부분에 null을 체크하도록 변경

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/interface/owner/center/dashboard/index.php

    r5405 r5481  
    240240        if($latestEntryId !== 0) { 
    241241            $latestEntry = getEntry($blogid,$latestEntryId); 
    242             if($latestEntry!=false) { 
     242            if(!is_null($latestEntry)) { 
    243243?> 
    244244                                    <li><a href="<?php echo $blogURL;?>/owner/entry/edit/<?php echo $latestEntry['id'];?>"><?php echo _f('최근글(%1) 수정', htmlspecialchars(UTF8::lessenAsEm($latestEntry['title'],10)));?></a></li>