Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
751a6979
Commit
751a6979
authored
Jul 19, 2006
by
Neil Drumm
Browse files
#73683
by keve, properly initialize an array.
parent
3c00cefd
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/filter/filter.module
View file @
751a6979
...
...
@@ -624,6 +624,7 @@ function filter_formats() {
$query
=
'SELECT * FROM {filter_formats}'
;
// Build query for selecting the format(s) based on the user's roles.
$args
=
array
();
if
(
!
$all
)
{
$where
=
array
();
foreach
(
$user
->
roles
as
$rid
=>
$role
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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