|
|
@@ -51,7 +51,7 @@ class OtCustomizerController extends SelectedSiteController {
|
|
|
$queryBuilder->update('ot_websites')
|
|
|
->where($queryBuilder->expr()->eq('uid', $this->currentWebsite['uid']))
|
|
|
->set('template', $templateKey)
|
|
|
- ->executeQuery();
|
|
|
+ ->executeStatement();
|
|
|
|
|
|
// Clear the site's cache
|
|
|
$this->otCacheManager->clearSiteCache($this->currentRootUid);
|
|
|
@@ -89,7 +89,7 @@ class OtCustomizerController extends SelectedSiteController {
|
|
|
$queryBuilder->update('ot_websites')
|
|
|
->where($queryBuilder->expr()->eq('uid', $this->currentWebsite['uid']))
|
|
|
->set('template_preferences', json_encode($prefs))
|
|
|
- ->executeQuery();
|
|
|
+ ->executeStatement();
|
|
|
|
|
|
// Clear the site's cache
|
|
|
$this->otCacheManager->clearSiteCache($this->currentRootUid);
|