/*
- * Sone - ImageLinkFilter.java - Copyright © 2011 David Roden
+ * Sone - ImageLinkFilter.java - Copyright © 2011–2012 David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
image = core.getImage((String) data, false);
} else if (data instanceof Image) {
image = (Image) data;
- } else {
+ }
+ if (image == null) {
return null;
}
String imageClass = parameters.get("class");