// Fix PSTEST-364
This commit is contained in:
@@ -125,13 +125,12 @@ class SpecificPriceRuleCore extends ObjectModel
|
|||||||
public function getConditions()
|
public function getConditions()
|
||||||
{
|
{
|
||||||
$conditions = Db::getInstance()->executeS('
|
$conditions = Db::getInstance()->executeS('
|
||||||
SELECT g.*
|
SELECT g.*, c.*
|
||||||
FROM '._DB_PREFIX_.'specific_price_rule_condition_group g
|
FROM '._DB_PREFIX_.'specific_price_rule_condition_group g
|
||||||
LEFT JOIN '._DB_PREFIX_.'specific_price_rule_condition c
|
LEFT JOIN '._DB_PREFIX_.'specific_price_rule_condition c
|
||||||
ON (c.id_specific_price_rule_condition_group = g.id_specific_price_rule_condition_group)
|
ON (c.id_specific_price_rule_condition_group = g.id_specific_price_rule_condition_group)
|
||||||
WHERE g.id_specific_price_rule='.(int)$this->id
|
WHERE g.id_specific_price_rule='.(int)$this->id
|
||||||
);
|
);
|
||||||
|
|
||||||
$conditions_group = array();
|
$conditions_group = array();
|
||||||
if ($conditions)
|
if ($conditions)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user