Skip to content

Commit 08e069a

Browse files
authored
fix: ps_delivery prefix and ps_logs_enabled (#414)
1 parent 3827493 commit 08e069a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Handler/ErrorHandler/ErrorHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ public function handle($exception, $silent = null)
111111
return;
112112
}
113113

114-
if (defined('PS_EVENTBUS_VERBOSE_ENABLED')) {
115-
$logsEnabled = PS_EVENTBUS_VERBOSE_ENABLED;
114+
if (defined('PS_EVENTBUS_LOGS_ENABLED')) {
115+
$logsEnabled = PS_EVENTBUS_LOGS_ENABLED;
116116
}
117117

118118
if (defined('PS_EVENTBUS_VERBOSE_ENABLED')) {

src/Repository/CarrierDetailRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function generateFullQuery($langIso, $withSelecParameters)
106106
->select('
107107
(
108108
SELECT d2.price
109-
FROM ps_delivery d2
109+
FROM ' . _DB_PREFIX_ . 'delivery d2
110110
WHERE d2.id_carrier = d.id_carrier
111111
ORDER BY d2.id_delivery DESC
112112
LIMIT 1

0 commit comments

Comments
 (0)