changed the file_home view to use version_compare() intead of strcmp() for sorting
This commit is contained in:
		| @ -55,7 +55,8 @@ else | ||||
| { | ||||
| 	function comp_files ($a, $b) | ||||
| 	{ | ||||
| 		$cmp = strcmp ($b->tag, $a->tag); | ||||
| 		//$cmp = strcmp ($b->tag, $a->tag); | ||||
| 		$cmp = version_compare ($b->tag, $a->tag); | ||||
| 		if ($cmp == 0) | ||||
| 		{ | ||||
| 			return strcmp ($a->name, $b->name); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user