쇼핑몰: #111 인덱스 유효성 오류 관련 추가 작업

This commit is contained in:
whitedot
2013-05-02 09:56:48 +09:00
parent c3b61b7a84
commit 0c5bb51c6d
2 changed files with 2 additions and 3 deletions

View File

@ -43,7 +43,6 @@ function get_image($img, $width=0, $height=0, $type='')
$str .= ' id="'.$img_id.'">';
}
return $str;
}
@ -52,7 +51,7 @@ function get_it_image($img, $width=0, $height=0, $id="", $type='')
{
$str = get_image($img, $width, $height, $type);
if ($id) {
$str = '<a href="'.G4_SHOP_URL.'/item.php?it_id='.$id.'" alt="">'.$str.'</a>';
$str = '<a href="'.G4_SHOP_URL.'/item.php?it_id='.$id.'">'.$str.'</a>';
}
return $str;
}