Use language constant NOT_FOUND
This commit is contained in:
parent
efd63e33f6
commit
96ee4ced98
@ -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));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user