@@ -296,40 +296,40 @@ function check_per_custom_date(obj) {
296296
297297// Distpacher actions to controller
298298switch ($ action ) {
299- case 'thematic_add ' :
300- case 'thematic_edit ' :
301- case 'thematic_delete ' :
302- case 'thematic_delete_select ' :
303- case 'thematic_copy ' :
304- case 'thematic_import_select ' :
305- case 'thematic_import ' :
306- case 'moveup ' :
307- case 'movedown ' :
299+ case 'thematic_add ' :
300+ case 'thematic_edit ' :
301+ case 'thematic_delete ' :
302+ case 'thematic_delete_select ' :
303+ case 'thematic_copy ' :
304+ case 'thematic_import_select ' :
305+ case 'thematic_import ' :
306+ case 'moveup ' :
307+ case 'movedown ' :
308308 if (!api_is_allowed_to_edit (null ,true )) {
309- api_not_allowed ();
309+ api_not_allowed ();
310310 }
311- case 'thematic_list ' :
312- case 'thematic_export ' :
313- case 'thematic_export_pdf ' :
314- case 'thematic_details ' :
311+ case 'thematic_list ' :
312+ case 'thematic_export ' :
313+ case 'thematic_export_pdf ' :
314+ case 'thematic_details ' :
315315 $ thematic_controller ->thematic ($ action );
316- break ;
317- case 'thematic_plan_add ' :
318- case 'thematic_plan_edit ' :
319- case 'thematic_plan_delete ' :
316+ break ;
317+ case 'thematic_plan_add ' :
318+ case 'thematic_plan_edit ' :
319+ case 'thematic_plan_delete ' :
320320 if (!api_is_allowed_to_edit (null ,true )) {
321321 api_not_allowed ();
322322 }
323- case 'thematic_plan_list ' :
323+ case 'thematic_plan_list ' :
324324 $ thematic_controller ->thematic_plan ($ action );
325- break ;
326- case 'thematic_advance_add ' :
327- case 'thematic_advance_edit ' :
328- case 'thematic_advance_delete ' :
325+ break ;
326+ case 'thematic_advance_add ' :
327+ case 'thematic_advance_edit ' :
328+ case 'thematic_advance_delete ' :
329329 if (!api_is_allowed_to_edit (null ,true )) {
330330 api_not_allowed ();
331331 }
332- case 'thematic_advance_list ' :
332+ case 'thematic_advance_list ' :
333333 $ thematic_controller ->thematic_advance ($ action );
334- break ;
334+ break ;
335335}
0 commit comments