Commit e8ae5c8b authored by webchick's avatar webchick

#568224 by Josh Waihi and chx: Fixed missing constant in filter value. (all...

#568224 by Josh Waihi and chx: Fixed missing constant in filter value. (all pgsql tests pass now. woohoo! :D)
parent 6586b764
......@@ -99,7 +99,7 @@ function theme_filter_admin_overview($form) {
function filter_admin_format_page($format = NULL) {
if (!isset($format->name)) {
drupal_set_title(t('Add text format'), PASS_THROUGH);
$format = (object)array('name' => '', 'roles' => '', 'format' => '');
$format = (object)array('name' => '', 'roles' => '', 'format' => FILTER_FORMAT_DEFAULT);
}
return drupal_get_form('filter_admin_format_form', $format);
}
......
Markdown is supported
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