Index: trunk/extensions/Cite/Cite.php |
— | — | @@ -343,8 +343,10 @@ |
344 | 344 | * @return string XHTML ready for output |
345 | 345 | */ |
346 | 346 | function referencesFormat() { |
| 347 | + if ( count( $this->mRefs ) == 0 ) |
| 348 | + return ''; |
| 349 | + |
347 | 350 | $ent = array(); |
348 | | - |
349 | 351 | foreach ( $this->mRefs as $k => $v ) |
350 | 352 | $ent[] = $this->referencesFormatEntry( $k, $v ); |
351 | 353 | |