Преглед на файлове

Use the create_date variable instead of time()

Abdullah Almsaeed преди 6 години
родител
ревизия
032c59cd87
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      tripal/includes/TripalEntityController.inc

+ 1 - 1
tripal/includes/TripalEntityController.inc

@@ -394,7 +394,7 @@ class TripalEntityController extends EntityAPIController {
       // If our entity has no id, then we need to give it a
       // time of creation.
       if (empty($entity->id)) {
-        $entity->created = time();
+        $entity->created = $create_date;
         $invocation = 'entity_insert';
       }
       else {