CRM-13958, fixed indentation for DAO's
authorkurund <kurund@civicrm.org>
Fri, 7 Feb 2014 03:07:50 +0000 (19:07 -0800)
committerkurund <kurund@civicrm.org>
Fri, 7 Feb 2014 03:07:50 +0000 (19:07 -0800)
----------------------------------------
* CRM-13958: DAO's generated are not indented correctly
  http://issues.civicrm.org/jira/browse/CRM-13958

CRM/Core/CodeGen/Util/Template.php

index 516d5f3d1258367664d2bcba8cd6cfe49c4e65d8..3c17dd4e98de2c8946905cd39c040ffcd548d5b7 100644 (file)
@@ -15,6 +15,8 @@ class CRM_Core_CodeGen_Util_Template {
   function __construct($filetype) {
     $this->compileDir = CRM_Core_CodeGen_Util_File::createTempDir('templates_c_');
 
+    $this->filetype = $filetype;
+
     // TODO use Core Smarty
     require_once 'Smarty/Smarty.class.php';
     $this->smarty = new Smarty();