summaryrefslogtreecommitdiff
path: root/modules/blogapi
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-11-28 10:29:21 +0000
committerDries Buytaert <dries@buytaert.net>2007-11-28 10:29:21 +0000
commit7a47bef51436381e4c41a9d291f0eb9b88e63474 (patch)
tree9e0a0d268f6ab1f49ebe0f5dda8ddb12040fb8f8 /modules/blogapi
parent673aba159b039568b93b015c5c8b97a71ec530f6 (diff)
downloadbrdo-7a47bef51436381e4c41a9d291f0eb9b88e63474.tar.gz
brdo-7a47bef51436381e4c41a9d291f0eb9b88e63474.tar.bz2
- Patch #162381 by Heine et al: properly escape strings.
Diffstat (limited to 'modules/blogapi')
-rw-r--r--modules/blogapi/blogapi.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module
index a246cf04b..22e15dda4 100644
--- a/modules/blogapi/blogapi.module
+++ b/modules/blogapi/blogapi.module
@@ -537,7 +537,7 @@ function blogapi_blogger_title(&$contents) {
}
function blogapi_admin_settings() {
- $node_types = node_get_types('names');
+ $node_types = array_map('check_plain', node_get_types('names'));
$defaults = isset($node_types['blog']) ? array('blog' => 1) : array();
$form['blogapi_node_types'] = array(
'#type' => 'checkboxes',