|
|
@@ -65,10 +65,10 @@ class SiteController extends ActionController
|
|
|
const BEGROUP_ADMIN_PREMIUM = 40;
|
|
|
|
|
|
const BEGROUP_NAME = [
|
|
|
- self::BEGROUP_EDITOR_STANDARD => "EditorStandard",
|
|
|
- self::BEGROUP_EDITOR_PREMIUM => "EditorPremium",
|
|
|
- self::BEGROUP_ADMIN_STANDARD => "AdminStandard",
|
|
|
- self::BEGROUP_ADMIN_PREMIUM => "AdminPremium"
|
|
|
+ self::BEGROUP_EDITOR_STANDARD => "Editor_Standard",
|
|
|
+ self::BEGROUP_EDITOR_PREMIUM => "Editor_Premium",
|
|
|
+ self::BEGROUP_ADMIN_STANDARD => "Admin_Standard",
|
|
|
+ self::BEGROUP_ADMIN_PREMIUM => "Admin_Premium"
|
|
|
];
|
|
|
|
|
|
const IS_PRODUCT_PREMIUM = [
|
|
|
@@ -1877,8 +1877,8 @@ class SiteController extends ActionController
|
|
|
$stmt = $cnn->prepare(
|
|
|
"SELECT p.username, a.id, s.product
|
|
|
FROM opentalent.Person p
|
|
|
- INNER JOIN Access a ON p.id = a.person_id
|
|
|
- INNER JOIN Settings s on a.organization_id = s.organization_id
|
|
|
+ INNER JOIN opentalent.Access a ON p.id = a.person_id
|
|
|
+ INNER JOIN opentalent.Settings s on a.organization_id = s.organization_id
|
|
|
where a.organization_id=" . $organizationId . " AND a.adminAccess=1;"
|
|
|
);
|
|
|
$stmt->execute();
|