Closed (fixed)
Project:
Hosting
Version:
6.x-0.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jul 2010 at 22:52 UTC
Updated:
9 Jul 2010 at 22:55 UTC
Very small bug with a very simple fix.
Line 200 of platform/hosting_platform.module doesn't use curly braces around the database names:
$iid = db_result(db_query("SELECT iid FROM hosting_package_instance i left join hosting_package p on p.nid=i.package_id WHERE p.package_type='platform' AND i.rid=%d", $node->nid));
Should be:
$iid = db_result(db_query("SELECT iid FROM {hosting_package_instance} i left join {hosting_package} p on p.nid=i.package_id WHERE p.package_type='platform' AND i.rid=%d", $node->nid));
Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| hosting_platform.module-db_prefix.patch | 842 bytes | m.stenta |
Comments
Comment #1
m.stentaOops. This is fixed already in latest dev (0.4-alpha3).