aboutsummaryrefslogtreecommitdiff
path: root/bibtex.php
diff options
context:
space:
mode:
Diffstat (limited to 'bibtex.php')
-rw-r--r--bibtex.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/bibtex.php b/bibtex.php
index acda55a..9fd391f 100644
--- a/bibtex.php
+++ b/bibtex.php
@@ -132,7 +132,7 @@ class BibtexParser
}
if ($select)
{
- if (!!empty($entry['html']))
+ if (empty($entry['html']))
{
$entry['html'] = $this->format($entry);
}
@@ -544,10 +544,6 @@ class BibtexParserTeam extends BibtexParser
class BibtexParserWorker extends BibtexParserTeam
{
- /*
- * Compare entries for sorting
- *
- */
protected function cmp_entries(&$a, &$b)
{
// by entry type