Closed (fixed)
Project:
Services
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 May 2011 at 09:22 UTC
Updated:
27 May 2011 at 21:41 UTC
The following line of code in function services_resource_build_index_query (services.module line 453):
$sql = "SELECT $fields FROM {$table} $where ORDER BY $order";
should be something like this:
$sql = "SELECT $fields FROM {{$table}} $where ORDER BY $order";
otherwise PHP removes the {} surrounding the table name, which causes Drupal not to prefix the table name with the database prefix.
Comments
Comment #1
kylebrowning commented