Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
drupal.org
better_formats
Commits
e2901718
Commit
e2901718
authored
Feb 05, 2010
by
dragonwize
Browse files
Fixed #682216 by wwalc, dragonwize: Fix E_NOTICE.
parent
443830eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
better_formats_defaults.admin.inc
better_formats_defaults.admin.inc
+1
-1
No files found.
better_formats_defaults.admin.inc
View file @
e2901718
...
...
@@ -192,7 +192,7 @@ function better_formats_get_formats_per_role() {
*/
function
better_formats_get_roles_by_perm
(
$perm
,
$reset
=
FALSE
)
{
static
$roles
;
if
(
$reset
||
!
$roles
[
$perm
])
{
if
(
$reset
||
!
isset
(
$roles
[
$perm
])
)
{
$sql
=
"SELECT rid
FROM
{
permission
}
WHERE perm LIKE '%
$perm
%'
...
...
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