Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.0RC6

Bug #15323 Multiple entries with the same cite
Submitted: 2008-12-16 14:36 UTC
From: sausis Assigned: doconnor
Status: Closed Package: Structures_BibTex (version 1.0.0RC4)
PHP Version: 5.2.1 OS: WinXP
Roadmaps: (Not assigned)    
Subscription  


 [2008-12-16 14:36 UTC] sausis (Audrius Klevas)
Description: ------------ Notice: Undefined offset: ## in C:\php\PEAR\Structures\BibTex.php on line 320 Indexes of non unique cites in $cite array are not in $unique after array_unique (line 315) therefore test ('' == $unique[$i]) in loop (line 320) generates notice.

Comments

 [2008-12-27 05:22 UTC] doconnor (Daniel O'Connor)
Nice find, Audrius, can you provide a reall small executable test case / w. input which demonstrates it? That way we can fix it, and turn that into a regression test :)
 [2012-01-17 20:27 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Closed -Assigned To: +Assigned To: doconnor
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.