summaryrefslogtreecommitdiff
path: root/classes/dbupdater.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/dbupdater.php')
-rw-r--r--classes/dbupdater.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/dbupdater.php b/classes/dbupdater.php
index 6a1a5ddfd..01c6a59f1 100644
--- a/classes/dbupdater.php
+++ b/classes/dbupdater.php
@@ -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()));
}