Commit 751a6979 authored by Neil Drumm's avatar Neil Drumm
Browse files

#73683 by keve, properly initialize an array.

parent 3c00cefd
......@@ -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) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment