Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The attached patch fixes a couple of compatibility issues with PostgreSQL, without hopefully breaking anything in MySQL (but it is untested on MySQL). Specifically, it fixes
1) a query error caused by the use of double quotes instead of single quotes, and
2) an encoding error that would happen when refreshing browscap data.
Please review and, possibly, merge into the next release.
Comment | File | Size | Author |
---|---|---|---|
browscap-module.patch | 978 bytes | lifepillar |
Comments
Comment #1
gregglesI was unsure about the change with %b to remove the ''. From reading http://api.drupal.org/api/function/db_query it says that it's correct to use %b without enclosing it in ''.
This looks good to me.
Comment #2
gregglesNow fixed - http://drupal.org/cvs?commit=415002
Thanks!