Incorrectly switching by $GLOBALS['dbtype'] in panels.install
stormsweeper - May 30, 2007 - 22:37
| Project: | Panels |
| Version: | 5.x-2.0-alpha7 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Simple enough, the key should be db_type. It will work for may people as is, since the default option in the switch is grouped with the mysql and mysqli options.
Attached is a patch that changes the key, and removes the default options from the switches in panels_install() and panels_uninstall()
| Attachment | Size |
|---|---|
| panels-install.txt | 1.1 KB |

#1
To clarify, the patch is against the DRUPAL-5 branch. The 2.0 alpha version doesn't support pgsql at all currently.
#2
First reported this for 5.x-1.2, but it's still in the CVS for the latest alphas.
#3
Fixed in 2.x-dev. Thanks!
#4