Active
Project:
Google Maps location
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2011 at 12:12 UTC
Updated:
7 Nov 2011 at 12:12 UTC
The database update from 6.x.1.2 to 6.x.2.0 can fail because there are no curly braces around the db table name in gmaplocation_update_200() in gmaplocation.install. The code should read as follows:
$ret[] = update_sql("UPDATE {permission} SET perm = REPLACE(perm, '$old_permission', '$new_permission')");