don't complain if one image in a bulk revert doesn't exist
This commit is contained in:
parent
d30665d274
commit
3aed2abec7
@ -329,7 +329,8 @@ class Tag_History extends Extension {
|
|||||||
|
|
||||||
$image = Image::by_id($stored_image_id);
|
$image = Image::by_id($stored_image_id);
|
||||||
if ( ! $image instanceof Image) {
|
if ( ! $image instanceof Image) {
|
||||||
throw new ImageDoesNotExist("Error: cannot find any image with the ID = ". $stored_image_id);
|
continue;
|
||||||
|
//throw new ImageDoesNotExist("Error: cannot find any image with the ID = ". $stored_image_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
log_debug("tag_history", 'Reverting tags of Image #'.$stored_image_id.' to ['.$stored_tags.']');
|
log_debug("tag_history", 'Reverting tags of Image #'.$stored_image_id.' to ['.$stored_tags.']');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user