Skip to content
Permalink
Browse files

var_export dumps null as NULL

correct for that so code standards are met with the results
  • Loading branch information...
AD7six committed May 9, 2012
1 parent 5ef2a01 commit 3a5e00fa53f05b52ebb588800ddcf0c9a8d2d9ef
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/Cake/Console/Command/Task/FixtureTask.php
@@ -362,6 +362,9 @@ protected function _makeRecordString($records) {
$values = array();
foreach ($record as $field => $value) {
$val = var_export($value, true);
if ($val === 'NULL') {
$val = 'null';
}
$values[] = "\t\t\t'$field' => $val";
}
$out .= "\t\tarray(\n";

0 comments on commit 3a5e00f

Please sign in to comment.
You can’t perform that action at this time.