Skip to content

Commit

Permalink
images API: Re-add the bold of 6aef79a when param is just the ID num
Browse files Browse the repository at this point in the history
  • Loading branch information
ophian committed Feb 16, 2024
1 parent 5268326 commit 5185970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/functions_images.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ function serendipity_deleteImage($id) {
}

if (!is_array($files)) {
$messages .= sprintf('<span class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> ' . FILE_NOT_FOUND . "</span>\n", $id);
$messages .= sprintf('<span class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> ' . FILE_NOT_FOUND . "</span>\n", "<b>$id</b>");
//return false;
} else {
foreach ($files AS $file) {
Expand Down Expand Up @@ -450,7 +450,7 @@ function serendipity_deleteImageVariations($id) {
}

if (!is_array($files)) {
$messages .= sprintf('<span class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> ' . FILE_NOT_FOUND . "</span>\n", $id);
$messages .= sprintf('<span class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> ' . FILE_NOT_FOUND . "</span>\n", "<b>$id</b>");
//return false;
} else {
foreach ($files AS $file) {
Expand Down

0 comments on commit 5185970

Please sign in to comment.