Fix display of no_screenshot.png image when there is no screenshot

This commit is contained in:
Tony Lambregts
2005-08-07 02:32:43 +00:00
committed by WineHQ
parent cc9a94abe2
commit df12143558

View File

@@ -321,7 +321,7 @@ function get_screenshot_img($iAppId = null, $iVersionId = null)
}
if(!$hResult || !mysql_num_rows($hResult))
{
$sImgFile = '<center><img src="'.appdb_fullpath("images/no_screenshot.png").'" alt="No Screenshot" /></center>';
$sImgFile = '<center><img src="images/no_screenshot.png" alt="No Screenshot" /></center>';
} else
{
$oRow = mysql_fetch_object($hResult);