Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
274
Merge Requests
33
CI / CD
Security & Compliance
Packages
Analytics
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Backend - Engine
Compare Revisions
eb49836909eb069a3e095b4c85c6c8e3d0bdc18b...6e96d473842090fedf59c59e862051bd9550605e
Source
6e96d473842090fedf59c59e862051bd9550605e
...
Target
eb49836909eb069a3e095b4c85c6c8e3d0bdc18b
Compare
Commits (2)
OwnerObj exportation changes
· a72f89c4
Ben Hayward
authored
46 minutes ago
a72f89c4
Merge branch 'fix/user-exportation-changes' into 'master'
· 6e96d473
Mark Harding
authored
46 minutes ago
OwnerObj exportation changes See merge request
!464
6e96d473
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
Controllers/api/v1/channel.php
View file @
6e96d473
...
...
@@ -70,7 +70,6 @@ class channel implements Interfaces\Api
$response
[
'channel'
][
'briefdescription'
]
=
$response
[
'channel'
][
'briefdescription'
]
?:
''
;
$response
[
'channel'
][
'city'
]
=
$response
[
'channel'
][
'city'
]
?:
""
;
$response
[
'channel'
][
'gender'
]
=
$response
[
'channel'
][
'gender'
]
?:
""
;
$response
[
'channel'
][
'dob'
]
=
$response
[
'channel'
][
'dob'
]
?:
""
;
if
(
!
$user
->
merchant
||
!
$supporters_count
)
{
$db
=
new
Core\Data\Call
(
'entities_by_time'
);
...
...
@@ -234,7 +233,7 @@ class channel implements Interfaces\Api
$update
=
[];
foreach
([
'name'
,
'website'
,
'briefdescription'
,
'gender'
,
'dob'
,
'city'
,
'coordinates'
,
'monetized'
]
as
$field
)
{
'city'
,
'coordinates'
,
'monetized'
]
as
$field
)
{
if
(
isset
(
$_POST
[
$field
]))
{
$update
[
$field
]
=
$_POST
[
$field
];
$owner
->
$field
=
$_POST
[
$field
];
...
...
This diff is collapsed.
Entities/User.php
View file @
6e96d473
...
...
@@ -1195,7 +1195,6 @@ class User extends \ElggUser
return
array_merge
(
parent
::
getExportableValues
(),
[
'website'
,
'briefdescription'
,
'dob'
,
'gender'
,
'city'
,
'merchant'
,
...
...
This diff is collapsed.