Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
153e6af3
authored
May 02, 2017
by
Jose Antonio
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Issue
#185
user_avatar and uri_sound NULL
parent
4314b85a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
sails/src/api/models/Scene.js
sails/src/api/models/Scene.js
View file @
153e6af3
...
...
@@ -100,6 +100,8 @@ module.exports = {
if
(
found
)
{
// Now we have everything, so we add the picto to the list
stuPicto
.
attributes
.
expression
=
stuPicto
.
attributes
.
expression
?
stuPicto
.
attributes
.
expression
:
picto
.
expressions
[
0
].
text
;
stuPicto
.
attributes
.
uri_sound
=
stuPicto
.
attributes
.
uri_sound
?
stuPicto
.
attributes
.
uri_sound
:
null
;
stuPicto
.
attributes
.
user_avatar
=
stuPicto
.
attributes
.
user_avatar
?
stuPicto
.
attributes
.
user_avatar
:
null
;
var
stuPictoToAdd
=
{
"id"
:
stuPicto
.
id
,
"picto"
:
stuPicto
.
picto
,
...
...
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