fix liveness testing, and comments tests

This commit is contained in:
Shish
2015-09-20 18:37:36 +01:00
parent c9036a91d5
commit 90cd823ece
18 changed files with 107 additions and 77 deletions

View File

@@ -328,7 +328,7 @@ class ImageIO extends Extension {
if($handler == "merge" || isset($_GET['update'])) {
$merged = array_merge($image->get_tag_array(), $existing->get_tag_array());
send_event(new TagSetEvent($existing, $merged));
if(isset($_GET['rating']) && isset($_GET['update']) && class_exists("Ratings")){
if(isset($_GET['rating']) && isset($_GET['update']) && ext_is_live("Ratings")){
send_event(new RatingSetEvent($existing, $_GET['rating']));
}
if(isset($_GET['source']) && isset($_GET['update'])){