[Vtigercrm-commits] [vtiger-commits] r4827 - /vtigercrm/branches/4.2_postgresql_integration/data/CRMEntity.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Mar 31 21:24:51 EST 2006


Author: allanbush
Date: Fri Mar 31 19:24:49 2006
New Revision: 4827

Log:
Moved adb call to after it's declaration.

Modified:
    vtigercrm/branches/4.2_postgresql_integration/data/CRMEntity.php

Modified: vtigercrm/branches/4.2_postgresql_integration/data/CRMEntity.php
==============================================================================
--- vtigercrm/branches/4.2_postgresql_integration/data/CRMEntity.php (original)
+++ vtigercrm/branches/4.2_postgresql_integration/data/CRMEntity.php Fri Mar 31 19:24:49 2006
@@ -176,12 +176,12 @@
 
   function insertIntoAttachment($id,$module)
   {
-    $date_var = $adb->database->DBTimeStamp(date('YmdHis'));
     global $current_user;
     global $adb;
     global $root_directory;
     global $upload_badext;
 
+    $date_var = $adb->database->DBTimeStamp(date('YmdHis'));
     $ownerid = $this->column_fields['assigned_user_id'];
     $adb->println("insertattach ownerid=".$ownerid." mod=".$module);
     $adb->println($this->column_fields);	





More information about the vtigercrm-commits mailing list