liaofei пре 2 година
родитељ
комит
a2ce712328
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      crmeb/crmeb/services/crud/Model.php

+ 1 - 1
crmeb/crmeb/services/crud/Model.php

@@ -68,7 +68,7 @@ class Model extends Make
             }
             }
         }
         }
         if ($attrFnContent) {
         if ($attrFnContent) {
-            $this->value['attr-php'] = implode("\n", $attrFnContent);
+            $this->value['attr-php'] = "\n" . implode("\n", $attrFnContent);
         }
         }
 
 
         return parent::handle($name, $options);
         return parent::handle($name, $options);