Accessing /webdav/nodes/ and /webdav/vocabularies/
I've got some 'table does not exists" error on SELECT statements
in files webdav\webdav_taxonomy\webdav_taxonomy.module
and webdav\webdav_node\webdav_node.module
E.g.
$cursor = db_query("SELECT name,type from node_type order by name") in function webdav_node_nodes_members()
$cursor=db_query("select r.title,r.nid from term_node t
inner join node_revisions r on r.vid=t.vid
inner join node n on r.vid=n.vid .... in function webdav_taxonomy_vocabulary_members(
.. and others
Adding {} around table names solves the problem.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | webdav-n679440.patch | 5.44 KB | damienmckenna |
Comments
Comment #1
damienmckennaPatch included. I also fixed a few coding standards issues with some queries (I changed the SQL reserved words to uppercase). That said, the module could really do with some syntax cleanups.
Comment #2
mably commented