Overview
Comment:Fix checkbox in chart editing
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA3-256: fea7d49f1eceabda2122dec6f8442759ed8fd8bcb64046ab3360d3b5b06da73a
User & Date: bohwaz on 2021-11-30 14:38:18
Other Links: manifest | tags
Context
2021-11-30
14:56
Clear graph cache after import check-in: eead5b5fb1 user: bohwaz tags: trunk, stable
14:38
Fix checkbox in chart editing check-in: fea7d49f1e user: bohwaz tags: trunk, stable
2021-11-29
16:40
Fix: also update file_path when moving a category check-in: ed44155002 user: bohwaz tags: trunk, stable
Changes

Modified src/www/admin/acc/charts/edit.php from [012860281d] to [1189423941].

14
15
16
17
18
19
20

21
22
23
24
25
26
27
}

if (f('save') && $form->check('acc_charts_edit_' . $chart->id()))
{
	try
	{
		$chart->importForm();

		$chart->save();

		Utils::redirect(sprintf('%sacc/charts/', ADMIN_URL));
	}
	catch (UserException $e)
	{
		$form->addError($e->getMessage());







>







14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
}

if (f('save') && $form->check('acc_charts_edit_' . $chart->id()))
{
	try
	{
		$chart->importForm();
		$chart->set('archived', (int) f('archived'));
		$chart->save();

		Utils::redirect(sprintf('%sacc/charts/', ADMIN_URL));
	}
	catch (UserException $e)
	{
		$form->addError($e->getMessage());