mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
unsort template items
This commit is contained in:
parent
39a060bd99
commit
9454ed2ff3
@ -189,6 +189,14 @@ function reporting_make_reporting_data(
|
|||||||
|
|
||||||
$metaconsole_on = is_metaconsole();
|
$metaconsole_on = is_metaconsole();
|
||||||
$index_content = 0;
|
$index_content = 0;
|
||||||
|
|
||||||
|
usort(
|
||||||
|
$contents,
|
||||||
|
function ($a, $b) {
|
||||||
|
return ($a['order'] <=> $b['order']);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
foreach ($contents as $content) {
|
foreach ($contents as $content) {
|
||||||
$content['name'] = io_safe_input($content['name']);
|
$content['name'] = io_safe_input($content['name']);
|
||||||
$content['description'] = io_safe_input($content['description']);
|
$content['description'] = io_safe_input($content['description']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user