close#702 Fixed:Unopened report pages in Php version 5.6
This commit is contained in:
@ -28,7 +28,7 @@ class ExpenseSummary extends Controller
|
||||
$year = request('year', Date::now()->year);
|
||||
|
||||
// check and assign year start
|
||||
if (($financial_start = Date::parse(setting('general.financial_start')))->month != 1) {
|
||||
if (($financial_start = Date::parse(setting('general.financial_start'))->month) != 1) {
|
||||
// check if a specific year is requested
|
||||
if (!is_null(request('year'))) {
|
||||
$financial_start->year = $year;
|
||||
|
Reference in New Issue
Block a user