diff options
Diffstat (limited to 'framework/prado-cli.php')
-rwxr-xr-x | framework/prado-cli.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/framework/prado-cli.php b/framework/prado-cli.php index ca3e1461..3839e816 100755 --- a/framework/prado-cli.php +++ b/framework/prado-cli.php @@ -691,7 +691,6 @@ class PradoCommandLineActiveRecordGen extends PradoCommandLineAction { $prop .= <<<EOD - /** * @var $type $name * @soapproperty @@ -699,13 +698,13 @@ class PradoCommandLineActiveRecordGen extends PradoCommandLineAction EOD; } - $prop .= "\tpublic $name;\n"; + $prop .= "\tpublic $name;"; return $prop; } protected function generateClass($properties, $tablename, $class) { - $props = implode("\n", $properties); + $props = implode("\x0D\x0A", $properties); $date = date('Y-m-d h:i:s'); return <<<EOD <?php |