Fix getApprovedInductionSessions - refs BT#9413

1.10.x
Angel Fernando Quiroz Campos 10 years ago
parent 63675f6fff
commit 2eac0e851f
  1. 2
      plugin/advanced_subscription/src/AdvancedSubscriptionPlugin.php

@ -1312,7 +1312,7 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
INNER JOIN $tSessionField AS sf ON sfv.field_id = sf.id
INNER JOIN $tSessionUser AS su ON s.id = su.session_id
WHERE
sf.extra_field_type = $extraFieldType
sf.extra_field_type = $extraFieldType AND
sf.variable = 'is_induction_session' AND
su.relation_type = 0 AND
su.user_id = " . intval($userId);

Loading…
Cancel
Save