Browse Source

Properly initialize variable.

Fixes #3658
mark_story 13 years ago
parent
commit
474210d007
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/Cake/Console/Command/Task/FixtureTask.php

+ 1 - 0
lib/Cake/Console/Command/Task/FixtureTask.php

@@ -299,6 +299,7 @@ class FixtureTask extends BakeTask {
 				if (empty($fieldInfo['type'])) {
 					continue;
 				}
+				$insert = '';
 				switch ($fieldInfo['type']) {
 					case 'integer':
 					case 'float':