Skip to content

Commit

Permalink
newsportal.php: misspelling of PDOException in a few places
Browse files Browse the repository at this point in the history
  • Loading branch information
vga-256 committed Jul 13, 2023
1 parent 8fd735a commit 4ee94a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Rocksolid_Light/rocksolid/newsportal.php
Expand Up @@ -1318,7 +1318,7 @@ function get_search_snippet($body, $content_type='') {
function mail_db_open($database, $table='messages') {
try {
$dbh = new PDO('sqlite:'.$database);
} catch (PDOExeption $e) {
} catch (PDOException $e) {
echo 'Connection failed: '.$e->getMessage();
exit;
}
Expand All @@ -1341,7 +1341,7 @@ function mail_db_open($database, $table='messages') {
function rslight_db_open($database, $table='overview') {
try {
$dbh = new PDO('sqlite:'.$database);
} catch (PDOExeption $e) {
} catch (PDOException $e) {
echo 'Connection failed: '.$e->getMessage();
exit;
}
Expand Down Expand Up @@ -1370,7 +1370,7 @@ function rslight_db_open($database, $table='overview') {
function article_db_open($database) {
try {
$dbh = new PDO('sqlite:'.$database);
} catch (PDOExeption $e) {
} catch (PDOException $e) {
echo 'Connection failed: '.$e->getMessage();
exit;
}
Expand Down

0 comments on commit 4ee94a3

Please sign in to comment.