Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
smart_core_connect
/
core-connect
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1fa2031a
authored
May 24, 2018
by
Wittaya-PIM
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Aof : เปลี่ยนที่ฟิว Teble uesr_entities
parent
f365a219
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
www/src/Controller/UserCardsController.php
+2
-3
No files found.
www/src/Controller/UserCardsController.php
View file @
1fa2031a
...
@@ -317,12 +317,11 @@ class UserCardsController extends AppController
...
@@ -317,12 +317,11 @@ class UserCardsController extends AppController
]
]
])
->
first
();
])
->
first
();
if
(
empty
(
$UserEntities
)){
if
(
empty
(
$UserEntities
)){
// pr('sdsd');die;
$UserEntities
=
$this
->
UserEntities
->
newEntity
();
$UserEntities
=
$this
->
UserEntities
->
newEntity
();
$UserEntities
[
'entity_code'
]
=
$TempUserCards
[
'organize_id'
];
$UserEntities
[
'entity_code'
]
=
$TempUserCards
[
'organize_id'
];
$UserEntities
[
'user_id'
]
=
$this
->
Auth
->
user
(
'id'
);
$UserEntities
[
'user_id'
]
=
$this
->
Auth
->
user
(
'id'
);
$UserEntities
[
'create
d_by
'
]
=
$this
->
Auth
->
user
(
'id'
);
$UserEntities
[
'create
_uid
'
]
=
$this
->
Auth
->
user
(
'id'
);
$UserEntities
[
'
modified_by
'
]
=
$this
->
Auth
->
user
(
'id'
);
$UserEntities
[
'
update_uid
'
]
=
$this
->
Auth
->
user
(
'id'
);
$this
->
UserEntities
->
save
(
$UserEntities
);
$this
->
UserEntities
->
save
(
$UserEntities
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment