소스 검색

Merge pull request #137 from sergeweyland/patch-1

Update pico.php
theshka 10 년 전
부모
커밋
b586c9fd5f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/pico.php

+ 1 - 1
lib/pico.php

@@ -260,7 +260,7 @@ class Pico {
 				$sorted_pages[$page_meta['date'].$date_id] = $data;
 				$date_id++;
 			}
-			else $sorted_pages[] = $data;
+			else $sorted_pages[$page] = $data;
 		}
 		
 		if($order == 'desc') krsort($sorted_pages);