Удалена ошибочная ссылка на $logFile
This commit is contained in:
@@ -56,7 +56,6 @@ class DataService
|
|||||||
$whereSql
|
$whereSql
|
||||||
$orderSql
|
$orderSql
|
||||||
LIMIT :limit OFFSET :offset";
|
LIMIT :limit OFFSET :offset";
|
||||||
file_put_contents($logFile, "Final SQL: " . preg_replace('/\s+/', ' ', $sql) . "\n\n", FILE_APPEND);
|
|
||||||
|
|
||||||
$stmt = $this->pdo->prepare($sql);
|
$stmt = $this->pdo->prepare($sql);
|
||||||
foreach ($params as $k => $v) {
|
foreach ($params as $k => $v) {
|
||||||
|
|||||||
Reference in New Issue
Block a user