modelGenerator: manage correctely the carriage-returns

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3728 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2017-05-24 11:56:00 +00:00
parent d58fd97840
commit 59ff1d7a57

View File

@@ -138,8 +138,9 @@ class modelGenerator
else else
$f .= " array (\"$unique\"),\n"; $f .= " array (\"$unique\"),\n";
} }
$f .= " ));\n\n"; $f .= " ));\n";
} }
$f .= "\n";
$f .= " // The titles\n"; $f .= " // The titles\n";
$f .= " \$this->titles = array (\n"; $f .= " \$this->titles = array (\n";
foreach ($schema["fields"] as $field=>$params) foreach ($schema["fields"] as $field=>$params)