1
0
mirror of synced 2024-12-12 22:36:02 +03:00

[2.0] Fixing strict standards notice

This commit is contained in:
jwage 2010-02-26 01:26:42 +00:00
parent 3e96788438
commit 3a778e624f

View File

@ -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;
}