Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
git-svn-id: https://plugins.svn.wordpress.org/papercite/trunk@370091 b8457f37-d9ea-0310-8a92-e5e31aec5664
  • Loading branch information
bpiwowar committed Apr 7, 2011
1 parent 86f45e3 commit 32d54f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion papercite.php
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,8 @@ function process(&$matches) {
$refs[$num[0]]["pKey"] = $num[1];
}
}
return $this->showEntries($refs, $tplOptions, true, $options["bibshow_template"], $options["format"]);
ksort($refs);
return $this->showEntries(array_values($refs), $tplOptions, true, $options["bibshow_template"], $options["format"]);

default:
return "[error in papercite: unhandled]";
Expand Down

0 comments on commit 32d54f6

Please sign in to comment.