Overview
Comment:Corrige bug rapporté par @Christine : catégories cachées ne sont plus filtrables dans la liste des membres
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA1: 8cd03c1209d9160996683cfa23ff91691e4695d2
User & Date: bohwaz on 2017-10-24 06:06:09
Other Links: manifest | tags
References
2020-12-08
23:25 Wiki page "Changelog/0.9" artifact: b9c916b4d1 user: bohwaz
Context
2017-10-24
06:19
Seulement certains types d'images sont acceptés (corrige erreur avec les fichiers BMP) check-in: 75f89f129a user: bohwaz tags: trunk, stable
06:06
Corrige bug rapporté par @Christine : catégories cachées ne sont plus filtrables dans la liste des membres check-in: 8cd03c1209 user: bohwaz tags: trunk, stable
01:08
Ne pas permettre de ne pas changer de catégorie check-in: 0aa88dbf39 user: bohwaz tags: trunk, stable
Changes

Modified src/www/admin/membres/index.php from [983da9689e] to [e45d2413f7].

21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
	$membres_cats_cachees = $cats->listHidden();

	$cat_id = (int) qg('cat') ?: 0;
	$page = (int) qg('p') ?: 1;

	if ($cat_id)
	{
	    if ($session->canAccess('membres', Membres::DROIT_ECRITURE) && array_key_exists($cat_id, $membres_cats_cachees))
	    {
	    	$cat_id = 0;
	    }
	}

	if (!$cat_id)
	{







|







21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
	$membres_cats_cachees = $cats->listHidden();

	$cat_id = (int) qg('cat') ?: 0;
	$page = (int) qg('p') ?: 1;

	if ($cat_id)
	{
	    if (!$session->canAccess('membres', Membres::DROIT_ECRITURE) && array_key_exists($cat_id, $membres_cats_cachees))
	    {
	    	$cat_id = 0;
	    }
	}

	if (!$cat_id)
	{