Browse Source

Fixed "Using when not in object context" error when installer query fails.

JustAMacUser 8 months ago
parent
commit
3cae6fe6ad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      install/index.php

+ 1 - 1
install/index.php

@@ -437,7 +437,7 @@
 
 						if (!$res) {
 							print_notice("Query: $line");
-							print_error("Error: " . implode(", ", $this->pdo->errorInfo()));
+							print_error("Error: " . implode(", ", $pdo->errorInfo()));
                         }
 					}
 				}