Various small updates [skip ci]

This commit is contained in:
James Cole committed 2014-08-06 07:06:45 +02:00
1 parent 2d0820873a
commit 5e809633e3
11 files changed
+100 -47

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ class ChartController extends BaseController
}
// loop and get array data.
$url = count($accounts) == 1
$url = count($accounts) == 1 && is_array($accounts)
? '<a href="' . route('accounts.show', [$account->id]) . '">View more</a>'
:
'<a href="' . route('accounts.index') . '">View more</a>';