Posted by perfectweb on January 8, 2012 at 11:30pm
1 follower
| Project: | Subsites |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | perfectweb |
| Status: | needs review |
Issue Summary
I came across this issue today whilst testing out the latest 7.x branh of the subsites module.
I was receiving the error message whilst trying to create a view that contained the subsite a node was associated with.
After looking into the code, i saw a todo item for converting the code to use the Drupal 7 db API. I updated the code which has resolved the problem. I have attached a patch for your review.
| Attachment | Size |
|---|---|
| ViewsHandlerField.patch | 1.08 KB |
Comments
#1
I stupidly got the patch back to front, and also forgot to account of pre-fixed db names. Here is an updated patch.