Changeset 3069

Show
Ignore:
Timestamp:
03/30/07 11:43:05 (22 months ago)
Author:
crizin
Message:
  • #357
  • category가 없을때 발생하는 notice,
  • 포스트 이미지에 width나 height가 지정되지 않았을때 발생하는 notice 제거
Location:
sandbox
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • sandbox/blog/category/index.php

    r2930 r3069  
    1212    $category = null; 
    1313if ($skinSetting['showListOnCategory'] != 0) { 
    14     $listWithPaging = getEntryListWithPagingByCategory($owner, $category, $suri['page'], $blog['entriesOnList']); 
     14    if(!$listWithPaging = getEntryListWithPagingByCategory($owner, $category, $suri['page'], $blog['entriesOnList'])) 
     15        $listWithPaging = array(array(), array('total' => 0)); 
    1516    $list = array('title' => (empty($suri['value']) ? _t('전체') : $suri['value']), 'items' => $listWithPaging[0], 'count' => $listWithPaging[1]['total']); 
    1617    $paging = $listWithPaging[1]; 
  • sandbox/plugins/FM_TTML/index.php

    r3045 r3069  
    457457 
    458458    // 가로, 세로 어느 쪽이든 0이면 이미지는 표시되지 않음. 따라서 계산할 필요 없음. 
    459     if ($attributes['width'] === 0 || $attributes['height'] === 0) { 
     459    if (@$attributes['width'] === 0 || @$attributes['height'] === 0) { 
    460460        return array($property, false); 
    461461    }