author | Jordan Doyle <jordan@doyle.wf> | 2016-06-19 13:47:18.0 +01:00:00 |
---|---|---|
committer | Jordan Doyle <jordan@doyle.wf> | 2016-06-19 13:47:18.0 +01:00:00 |
commit | 3ea326cd5c9dce03f5dc8f36959eece96ff5d455 [patch] |
|
tree | 7cc1aae2e8a43b15d73a9a95276e4c90ddab907c |
|
parent | fe7bbc8b77b04d90e035cad667e4aa1b63a15a22 |
|
download | 3ea326cd5c9dce03f5dc8f36959eece96ff5d455.tar.gz |
Coloured names in DJ says
Diff
app/Http/Controllers/DJ/DJSaysController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/DJ/DJSaysController.php b/app/Http/Controllers/DJ/DJSaysController.php index 6a08b85..14f4555 100644 --- a/app/Http/Controllers/DJ/DJSaysController.php +++ a/app/Http/Controllers/DJ/DJSaysController.php @@ -57,7 +57,7 @@ $says = DJSays::remember(5)->orderBy('id', 'desc')->take(1)->first(); if ($says) { return ['dj' => User::remember(30)->find($says->dj)->username, 'msg' => e($says->msg)]; return ['dj' => User::remember(30)->find($says->dj)->getDisplayName(), 'msg' => e($says->msg)]; } else { return ['dj' => _('Unavailable'), 'msg' => _('Currently unset.')]; }