PrestaShop/PrestaShop — pull request #1986 by iNem0o (2014-07-23 10:40:10+00:00)
Title: [-] CORE : fixing an error with non-multilang ObjectModel instance

If you try to instanciate a non-multilang ObjectModel with an id_land in the construct, a mysql error is thrown because script tried to LEFT JOIN on an unknow table.

I added a check to assure that ObjectModel don't try to use a lang table, if definition doesnt allow it