X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FDatabase%2FDBA.php;h=832f0a444f994684354267123a0f9ff6c8c39fed;hb=b06fc578804fdc0073631e7c97eccd25543e769e;hp=897ab2e6ed7688fc04687fd1431e3c7e90344ef4;hpb=5f17ce574fa37e84592d1dc1518ae34d58654b6f;p=friendica.git diff --git a/src/Database/DBA.php b/src/Database/DBA.php index 897ab2e6ed..832f0a444f 100644 --- a/src/Database/DBA.php +++ b/src/Database/DBA.php @@ -425,7 +425,7 @@ class DBA if ((substr_count($sql, '?') != count($args)) && (count($args) > 0)) { // Question: Should we continue or stop the query here? - Logger::log('Parameter mismatch. Query "'.$sql.'" - Parameters '.print_r($args, true), Logger::DEBUG); + Logger::warning('Query parameters mismatch.', ['query' => $sql, 'args' => $args, 'callstack' => System::callstack()]); } $sql = self::cleanQuery($sql);