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
6c193d1b
authored
May 24, 2018
by
Teeradone-PIM
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'integration' into teeradone
parents
f805d166
10b14ed5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
.gitignore
+1
-1
www/src/Controller/UserCardsController.php
+2
-3
No files found.
.gitignore
View file @
6c193d1b
...
@@ -4,4 +4,4 @@ www/tmp/
...
@@ -4,4 +4,4 @@ www/tmp/
www/webroot/img/img/demos/shop/products/shop8/product2.jpg
www/webroot/img/img/demos/shop/products/shop8/product2.jpg
www/webroot/img/img/demos/
www/webroot/img/img/demos/
www/src/Controller/UsersController.php.bg20180515
www/src/Controller/UsersController.php.bg20180515
www/config/app
.backu
p
www/config/app
- Copy.ph
p
www/src/Controller/UserCardsController.php
View file @
6c193d1b
...
@@ -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