mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:15:55 +00:00
some dbupdater improvements; fix schema 136 syntax for mysql
This commit is contained in:
@@ -52,7 +52,7 @@ class DbUpdater {
|
||||
$this->pdo->query($line); // PDO returns errors as exceptions now
|
||||
} catch (PDOException $e) {
|
||||
if ($html_output) {
|
||||
print_error("Error: " . implode(", ", $this->pdo->errorInfo()));
|
||||
print "<div class='text-error'>Error: " . implode(", ", $this->pdo->errorInfo()) . "</div>";
|
||||
} else {
|
||||
Debug::log("Error: " . implode(", ", $this->pdo->errorInfo()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user