On installing the module, you get the following error message:
- warning: Invalid argument supplied for foreach() in /var/www/drupal-6.3/includes/common.inc on line 3169.
- warning: Invalid argument supplied for foreach() in /var/www/drupal-6.3/includes/common.inc on line 3090.
...and the 'wymeditor_profiles' table isn't created.
The attached patch fixes this. Well, at least the table gets created; I haven't tested it exhaustively yet. The major issues were the absence of a 'return $schema;' at the end of wymeditor_schema(), and the attributes 'length' and 'unsigned' do not apply to 'int' and 'text' fields respectively.
Also replaced direct deletion of the table with "drupal_uninstall_schema('wymeditor');" in 'wymeditor_unistall()' and added some whitespace to meet the Drupal coding standards.
| Comment | File | Size | Author |
|---|---|---|---|
| wymeditor-schema-api.patch | 1.3 KB | Matthew Davidson |
Comments
Comment #1
fall_0ut commentedThanks for your patch...
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.