remove unstrict check
This commit is contained in:
parent
0e88f488ce
commit
ced49d9cb9
@ -308,7 +308,7 @@ function serendipity_deleteImage($id) {
|
|||||||
|
|
||||||
$file = serendipity_fetchImageFromDatabase($id);
|
$file = serendipity_fetchImageFromDatabase($id);
|
||||||
|
|
||||||
if (!is_array($file) || !isset($file['path'])) {
|
if (!is_array($file)) {
|
||||||
printf(FILE_NOT_FOUND . '<br />', $id);
|
printf(FILE_NOT_FOUND . '<br />', $id);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user