diff --git a/install/updates/froxlor/0.10/update_0.10.inc.php b/install/updates/froxlor/0.10/update_0.10.inc.php index 70c2dacc..56636567 100644 --- a/install/updates/froxlor/0.10/update_0.10.inc.php +++ b/install/updates/froxlor/0.10/update_0.10.inc.php @@ -201,7 +201,11 @@ if (\Froxlor\Froxlor::isDatabaseVersion('201902120')) { showUpdateStep("Adding new ECC / ECDSA setting for Let's Encrypt"); Settings::AddNew('system.leecc', '0'); - Database::query("UPDATE `" . TABLE_PANEL_CRONRUNS . "` SET `cronclass` = '\\Froxlor\\Cron\\Http\\LetsEncrypt\\AcmeSh' WHERE `cronfile` = 'letsencrypt'"); + $upd_stmt = Database::prepare("UPDATE `" . TABLE_PANEL_CRONRUNS . "` SET `cronclass` = :cc WHERE `cronfile` = :cf"); + Database::pexecute($upd_stmt, array( + 'cc' => '\\Froxlor\\Cron\\Http\\LetsEncrypt\\AcmeSh', + 'cf' => 'letsencrypt' + )); Settings::Set('system.letsencryptkeysize', '2048', true); lastStepStatus(0);