Use language constant NOT_FOUND

This commit is contained in:
Jude Anthony 2008-03-19 11:33:28 +00:00
parent efd63e33f6
commit 96ee4ced98

View File

@ -789,7 +789,7 @@ function serendipity_smarty_getImageSize($params, &$smarty) {
} }
// If no file, trigger an error // If no file, trigger an error
if (!file_exists($file)) { if (!file_exists($file)) {
$smarty->trigger_error(__FUNCTION__ .': file ' . $params['file'] . 'not found '); $smarty->trigger_error(__FUNCTION__ .': file ' . $params['file'] . NOT_FOUND . ' ');
return; return;
} }
$smarty->assign($params['assign'], serendipity_getimagesize($file)); $smarty->assign($params['assign'], serendipity_getimagesize($file));