sometimes tags are set with no images id...
This commit is contained in:
parent
ad686975b7
commit
98f09695b6
@ -125,6 +125,8 @@ class ViewImage extends SimpleExtension {
|
||||
}
|
||||
|
||||
if($event->page_matches("post/set")) {
|
||||
if(!isset($_POST['image_id'])) return;
|
||||
|
||||
$image_id = int_escape($_POST['image_id']);
|
||||
|
||||
send_event(new ImageInfoSetEvent(Image::by_id($image_id)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user