Module sorting was not correct. For example it was sorted 100, 200, 35, 400, 80. To fix that replace:
function resort_array($a, $b) {
return strcmp($a['sortnumber'], $b['sortnumber']);
}
with :
function resort_array($a, $b) {
return ($a['sortnumber'] > $b['sortnumber']);
}
That's all.
More...




LinkBack URL
About LinkBacks









Bookmarks