|
|
|
@ -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); |
|
|
|
|