Updated
This commit is contained in:
@@ -77,7 +77,7 @@ function vs01_access_state($association_slug = '') {
|
||||
// Corpus Builder — highest participant tier
|
||||
$cb_gid = intval($groups['corpus_builder'] ?? 0);
|
||||
if ($cb_gid) {
|
||||
$r = q("SELECT xchain FROM pgrp_member WHERE gid = %d AND xchain = '%s' LIMIT 1",
|
||||
$r = q("SELECT xchan FROM pgrp_member WHERE gid = %d AND xchan = '%s' LIMIT 1",
|
||||
intval($cb_gid),
|
||||
dbesc($observer)
|
||||
);
|
||||
@@ -87,7 +87,7 @@ function vs01_access_state($association_slug = '') {
|
||||
// SASE Participant
|
||||
$sase_gid = intval($groups['sase_participant'] ?? 0);
|
||||
if ($sase_gid) {
|
||||
$r = q("SELECT xchain FROM pgrp_member WHERE gid = %d AND xchain = '%s' LIMIT 1",
|
||||
$r = q("SELECT xchan FROM pgrp_member WHERE gid = %d AND xchan = '%s' LIMIT 1",
|
||||
intval($sase_gid),
|
||||
dbesc($observer)
|
||||
);
|
||||
@@ -97,7 +97,7 @@ function vs01_access_state($association_slug = '') {
|
||||
// Civic Professional
|
||||
$prof_gid = intval($groups['civic_professional'] ?? 0);
|
||||
if ($prof_gid) {
|
||||
$r = q("SELECT xchain FROM pgrp_member WHERE gid = %d AND xchain = '%s' LIMIT 1",
|
||||
$r = q("SELECT xchan FROM pgrp_member WHERE gid = %d AND xchan = '%s' LIMIT 1",
|
||||
intval($prof_gid),
|
||||
dbesc($observer)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user