Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
ownterm
Commits
7a5811d9
Commit
7a5811d9
authored
Jan 13, 2010
by
coltrane
Browse files
Sanitizing term description.
parent
f0bb0273
Changes
1
Hide whitespace changes
Inline
Side-by-side
ownterm.module
View file @
7a5811d9
...
...
@@ -408,7 +408,7 @@ function ownterm_display($account) {
$rows
=
array
();
while
(
$row
=
db_fetch_object
(
$result
))
{
$term
=
taxonomy_get_term
(
$row
->
tid
);
$rows
[]
=
array
(
'data'
=>
array
(
l
(
$term
->
name
,
'taxonomy/term/'
.
$term
->
tid
),
$term
->
description
),
'id'
=>
'uid-'
.
$account
->
uid
);
$rows
[]
=
array
(
'data'
=>
array
(
l
(
$term
->
name
,
'taxonomy/term/'
.
$term
->
tid
),
check_plain
(
$term
->
description
)
)
,
'id'
=>
'uid-'
.
$account
->
uid
);
}
if
(
count
(
$rows
)
==
0
)
{
$rows
[]
=
array
(
array
(
'data'
=>
t
(
'You are not assigned to any blogs.'
),
'colspan'
=>
2
,
'id'
=>
'norecords'
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment