Commit 5fced395 authored by changi67's avatar changi67

[FIX] Ensure that following writes to will not modify the last array element

parent 06bc8839
......@@ -1114,6 +1114,7 @@ class CategLib extends ObjectLib
foreach ($ret as &$res) {
$res['name'] = tra($res['name']);
}
unset($res);
usort($ret, "cmpcatname");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment