summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Stjerneman2015-01-06 22:16:01 +0100
committerEmil Stjerneman2015-01-06 22:16:01 +0100
commit25ee76df877e54490421f787b5433792d8fee682 (patch)
treefaa4aacad10461ebcfc2bc11ce932a5878517c79
parentc36294225965eec5af090546ac5415f845e19ef9 (diff)
by Marty2081, anon: Fixed output of entity title.7.x-2.7
-rw-r--r--plugins/linkit_plugins/linkit-plugin-entity.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/linkit_plugins/linkit-plugin-entity.class.php b/plugins/linkit_plugins/linkit-plugin-entity.class.php
index 3e80b0e..b9fb62f 100644
--- a/plugins/linkit_plugins/linkit-plugin-entity.class.php
+++ b/plugins/linkit_plugins/linkit-plugin-entity.class.php
@@ -75,7 +75,7 @@ class LinkitPluginEntity extends LinkitPlugin {
* Build the label that will be used in the search result for each row.
*/
function buildLabel($entity) {
- return entity_label($this->plugin['entity_type'], $entity);
+ return check_plain(entity_label($this->plugin['entity_type'], $entity));
}
/**