Skip to content
Snippets Groups Projects
Verified Commit cd61d545 authored by Damien's avatar Damien
Browse files

FEAT #11271 TIME 0:05 Default quotes

parent f150d4d2
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,7 @@ class IndexingModelController ...@@ -73,7 +73,7 @@ class IndexingModelController
if (ServiceModel::hasService(['id' => 'admin_indexing_models', 'userId' => $GLOBALS['userId'], 'location' => 'apps', 'type' => 'admin'])) { if (ServiceModel::hasService(['id' => 'admin_indexing_models', 'userId' => $GLOBALS['userId'], 'location' => 'apps', 'type' => 'admin'])) {
$body['private'] = empty($body['private']) ? 'false' : 'true'; $body['private'] = empty($body['private']) ? 'false' : 'true';
$defaultModel = IndexingModelModel::get(['select' => [1], 'where' => ['default = ?'], 'data' => ['true']]); $defaultModel = IndexingModelModel::get(['select' => [1], 'where' => ['"default" = ?'], 'data' => ['true']]);
$body['default'] = empty($defaultModel) ? 'true' : 'false'; $body['default'] = empty($defaultModel) ? 'true' : 'false';
} else { } else {
$body['private'] = 'true'; $body['private'] = 'true';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment