SQL Error: Unknown column 'l.Id' in 'on clause' at /var/www/dp_cata/data/www/dp-cata.aldoran.ru/spell.php line 517
Array
(
    [code] => 1054
    [message] => Unknown column 'l.Id' in 'on clause'
    [query] => 
			SELECT c.`entry`, `Title`, `QuestLevel`, `MinLevel`, `RequiredRaces`, `RewChoiceItemId1`, `RewChoiceItemId2`, `RewChoiceItemId3`, `RewChoiceItemId4`, `RewChoiceItemId5`, `RewChoiceItemId6`, `RewChoiceItemCount1`, `RewChoiceItemCount2`, `RewChoiceItemCount3`, `RewChoiceItemCount4`, `RewChoiceItemCount5`, `RewChoiceItemCount6`, `RewItemId1`, `RewItemId2`, `RewItemId3`, `RewItemId4`, `RewItemCount1`, `RewItemCount2`, `RewItemCount3`, `RewItemCount4`, `RewMoneyMaxLevel`, `RewOrReqMoney`, `Type`, `ZoneOrSort`, `QuestFlags`
			  , Title_loc8 AS Title_loc  
			FROM v_quest_template c
			  LEFT JOIN (locales_quest l) ON c.entry = l.Id AND '1'  
			WHERE
				RewSpell = 71858
				OR RewSpellCast = 71858
			
    [context] => /var/www/dp_cata/data/www/dp-cata.aldoran.ru/spell.php line 517
)