Skip to content
Snippets Groups Projects
Verified Commit 286733b0 authored by Florian Azizian's avatar Florian Azizian
Browse files

FEAT #11269 TIME 0:05 fix sql update request

parent 9f593e73
No related branches found
No related tags found
No related merge requests found
...@@ -139,7 +139,7 @@ class IndexingModelController ...@@ -139,7 +139,7 @@ class IndexingModelController
} }
if ($hasServiceAdmin && !$body['private'] && $body['default']) { if ($hasServiceAdmin && !$body['private'] && $body['default']) {
IndexingModelModel::update(['set' => ['default' => false]]); IndexingModelModel::update(['set' => ['"default"' => 'false'], 'where' => ['"default" = ?'], 'data' => ['true']]);
} }
IndexingModelModel::update([ IndexingModelModel::update([
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment