Commit 3a778e62 authored by jwage's avatar jwage

[2.0] Fixing strict standards notice

parent 3e967884
......@@ -251,10 +251,10 @@ class MySqlSchemaManager extends AbstractSchemaManager
{
$tableForeignKey = array_change_key_case($tableForeignKey, CASE_LOWER);
if ($tableForeignKey['delete_rule'] == "RESTRICT") {
if (!isset($tableForeignKey['delete_rule']) || $tableForeignKey['delete_rule'] == "RESTRICT") {
$tableForeignKey['delete_rule'] = null;
}
if ($tableForeignKey['update_rule'] == "RESTRICT") {
if (!isset($tableForeignKey['update_rule']) || $tableForeignKey['update_rule'] == "RESTRICT") {
$tableForeignKey['update_rule'] = null;
}
......
Markdown is supported
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