--- MPIWGWeb/bibliography.py 2004/10/18 13:16:41 1.4 +++ MPIWGWeb/bibliography.py 2004/11/16 15:15:23 1.5 @@ -26,7 +26,7 @@ def formatBiblHelp(self,found,table,id): if not self.ZSQLisEmpty(foundIB.number): ret+=foundIB.number+" " ret+=foundIB.year+")" - if not foundIB.pages=='': + if foundIB.pages and (not foundIB.pages)=='': ret+=": "+foundIB.pages+"." elif foundIB.reference_type.lower()=='edited book': @@ -42,7 +42,7 @@ def formatBiblHelp(self,found,table,id): if (foundIB.secondary_author_semi_colon) and (not foundIB.secondary_author_semi_colon==''): ret+=", eds.: "+foundIB.secondary_author_semi_colon ret+=". " - if not foundIB.pages=='': + if foundIB.pages and (not foundIB.pages)=='': ret+=foundIB.pages+". " if foundIB.place_published and (not foundIB.place_published==''): ret+=foundIB.place_published+": "