atk4 / data

Data Access PHP Framework for SQL & high-latency databases
https://atk4-data.readthedocs.io
MIT License
273 stars 46 forks source link

categories::export - error. #121

Closed romaninsh closed 8 years ago

romaninsh commented 8 years ago

dsql/src/Query.php:390 has error - undefined offset 1.

Saw that in console when with the Staffer demo-app.

DarkSide666 commented 8 years ago

https://github.com/atk4/dsql/blob/develop/src/Query.php#L390

probably $foreign_table variable don't contain dot and field name, so list($f1, $f2) fail because there is no 2 elements in array. It looks that @ doesn't help in such case if you see error in console/logs.

romaninsh commented 8 years ago

yeah, that's right I wonder if we can move this to DSQL.