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
}
if ($hasServiceAdmin && !$body['private'] && $body['default']) {
IndexingModelModel::update(['set' => ['default' => false]]);
IndexingModelModel::update(['set' => ['"default"' => 'false'], 'where' => ['"default" = ?'], 'data' => ['true']]);
}
IndexingModelModel::update([
......
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