Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ddb7dda3
authored
2019-03-13 16:28:09 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
d
1 parent
4d2de7de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
com/Notifications/Notifications.php
com/Notifications/Notifications.php
View file @
ddb7dda
...
...
@@ -346,7 +346,7 @@ function send_triggered_notification($uid = 0, $trigger = 'NO_TRIGGER', $args =
$preferred_language
=
'en'
;
}
$time
=
strtotime
(
time
()
);
$time
=
time
(
);
$title
=
$push
[
$preferred_language
.
'_title'
];
$message
=
$push
[
$preferred_language
.
'_message'
];
$link
=
$push
[
$preferred_language
.
'_link'
];
...
...
@@ -411,7 +411,7 @@ function send_triggered_notification($uid = 0, $trigger = 'NO_TRIGGER', $args =
foreach
(
$user_data
as
$key
=>
$val
)
{
$title
=
str_replace
(
'{'
.
$key
.
'}'
,
$val
,
$title
);
$message
=
str_replace
(
'{'
.
$key
.
'}'
,
$val
,
$message
);
$message
=
str_replace
(
'{'
.
$key
.
'}'
,
$val
,
$message
);
}
...
...
Please
register
or
sign in
to post a comment