@@ -78,13 +78,13 @@ function better_formats_install() {
}
// Set default perms to be like core defaults.
$default_perms=', show format selection, show format tips, show more format tips link, collapsible format selection, collapse format fieldset by default';
$default_perms=', show format selection for nodes, show format selection for comments, show format selection for blocks, show format tips, show more format tips link, collapsible format selection, collapse format fieldset by default';
// Get current core perms.
$sql="SELECT *
FROM {permission}
WHERE rid IN (1,2)";
$result=db_query($sql);
$row_perms=array();
$role_perms=array();
while($row=db_fetch_object($result)){
$role_perms[$row->rid]=$row;
}
...
...
@@ -98,7 +98,7 @@ function better_formats_install() {