Skip to content
Snippets Groups Projects
Commit 04d51197 authored by Demian Katz's avatar Demian Katz
Browse files

Avoid undefined index error.

parent 76c1df51
Branches
Tags
No related merge requests found
...@@ -217,6 +217,9 @@ class DbUpgrade extends AbstractPlugin ...@@ -217,6 +217,9 @@ class DbUpgrade extends AbstractPlugin
*/ */
protected function getCollationProblemsForTable($table) protected function getCollationProblemsForTable($table)
{ {
if (!isset($this->dbCommands[$table['Name']][0])) {
return false;
}
// For now, we'll only detect problems in utf8-encoded tables; if the // For now, we'll only detect problems in utf8-encoded tables; if the
// user has a Latin1 database, they probably have more complex issues to // user has a Latin1 database, they probably have more complex issues to
// work through anyway. // work through anyway.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment