Overview
Comment:Make sure last chart change is saved
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA3-256: 34c93a65863a34339d8af75618769f360e8aa8b6e23b66d6a29f1acbfeeabe62
User & Date: bohwaz on 2022-01-19 00:14:44
Other Links: manifest | tags
Context
2022-01-19
00:51
Make sure the page and global.js are loaded first check-in: a9bc9467d1 user: bohwaz tags: trunk, stable
00:14
Make sure last chart change is saved check-in: 34c93a6586 user: bohwaz tags: trunk, stable
2022-01-18
15:22
Fix HTTP cache check-in: 21b68144fc user: bohwaz tags: trunk, stable
Changes

Modified src/include/lib/Garradin/Entities/Accounting/Account.php from [7eb623e44a] to [b356765e58].

544
545
546
547
548
549
550

551
552
553
554
		return Charts::get($this->id_chart);
	}

	public function save(): bool
	{
		$c = Config::getInstance();
		$c->set('last_chart_change', time());


		return parent::save();
	}
}







>




544
545
546
547
548
549
550
551
552
553
554
555
		return Charts::get($this->id_chart);
	}

	public function save(): bool
	{
		$c = Config::getInstance();
		$c->set('last_chart_change', time());
		$c->save();

		return parent::save();
	}
}