Closed (fixed)
Project:
Migrate i18n
Version:
6.x-6.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
25 Nov 2009 at 15:24 UTC
Updated:
18 Mar 2010 at 16:30 UTC
First issue!
When I use this module, I get an sql error that says it can't find the table. So I thought you didn't use {} to wrap the table name and add the prefix.
Looking at the code, I saw you actually used "{$tablename}", but here this is parsed in php as an escape code to delimit the name of a variable, so that "foo{$bar}baz" is the same as 'foo' . $bar . 'baz'
So replace "{$tablename}" with "\{$tablename\}" or "{{$tablename}}" on line 37 of migrate_i18n_admin.inc, and fix "{$table}" on line 160 of migrate_i18n.module
Comments
Comment #1
steve.m commentedWhoops, I wasn't getting any bug/issue notifications from this project!
Thanks for this.