Closed (fixed)
Project:
Project
Version:
6.x-1.x-dev
Component:
Releases
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
26 Nov 2009 at 02:06 UTC
Updated:
10 Dec 2009 at 15:20 UTC
Jump to comment: Most recent file
In recent testing without the d.o testing install profile (which defines the active_compatibility_tids stuff automatically), I noticed that if you have terms in the API compatibility vocabulary, but don't define any thing for the active_compatibility_tids setting, you get PHP notices. I have a patch, stay tuned.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 643528-1.active_compatibility_tids_php_warning.patch | 2.48 KB | dww |
Comments
Comment #1
dwwActually, the bug is a PHP warning, since we use '' for the default variable, but we treat it as an array() everywhere. So, we just need to invoke variable_get() with array() as the default and we're good.
Comment #2
dwwCommitted to HEAD and backported to DRUPAL-5.