|
|
@@ -2398,8 +2398,8 @@ class SiteController extends ActionController
|
|
|
$queryBuilder
|
|
|
->select('uid')
|
|
|
->from('sys_filemounts')
|
|
|
- ->where("path LIKE '%user_upload/" . $organizationId . "/'")
|
|
|
- ->orWhere("path LIKE '%form_definitions/" . $organizationId . "/'");
|
|
|
+ ->where("identifier LIKE '1:%user_upload/" . $organizationId . "/'")
|
|
|
+ ->orWhere("identifier LIKE '1:%form_definitions/" . $organizationId . "/'");
|
|
|
$statement = $queryBuilder->executeQuery();
|
|
|
$rows = $statement->fetchAllAssociative() ?: [];
|
|
|
$fileMounts = [];
|