Commit 1fa2031a by Wittaya-PIM

Aof : เปลี่ยนที่ฟิว Teble uesr_entities

parent f365a219
......@@ -317,12 +317,11 @@ class UserCardsController extends AppController
]
])->first();
if(empty($UserEntities)){
// pr('sdsd');die;
$UserEntities = $this->UserEntities->newEntity();
$UserEntities['entity_code'] = $TempUserCards['organize_id'];
$UserEntities['user_id'] = $this->Auth->user('id');
$UserEntities['created_by'] = $this->Auth->user('id');
$UserEntities['modified_by'] = $this->Auth->user('id');
$UserEntities['create_uid'] = $this->Auth->user('id');
$UserEntities['update_uid'] = $this->Auth->user('id');
$this->UserEntities->save($UserEntities);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment