Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
filter.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jan 2010 at 21:59 UTC
Updated:
23 Feb 2010 at 16:10 UTC
_filter_html_tips() accesses $filter->settings['allowed_html'] without first checking whether that key exists.
As soon as the filtered html text format has been configured, it exists and the problem goes away, but on a fresh install this test fails with a notice.
One possible patch is suggested, which checks for the missing key before using it. It might be yet more valuable to initialize the settings and get rid of the existing (incomplete) test or the proposed (better) one, though ?
| Comment | File | Size | Author |
|---|---|---|---|
| filter_allowed_html.patch | 818 bytes | fgm |
Comments
Comment #1
sunI think this has been fixed in HEAD already.