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

Bug #14442 Undefined variable $entry in _removeCurlyBraces
Submitted: 2008-08-03 14:39 UTC
From: shannah Assigned: doconnor
Status: Closed Package: Structures_BibTex (version CVS)
PHP Version: 5.2.6 OS: All
Roadmaps: (Not assigned)    

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 35 + 21 = ?

 [2008-08-03 14:39 UTC] shannah (Steve Hannah)
Description: ------------ The _removeCurlyBraces method starts like: <code> function _removeCurlyBraces($value) { //First we save the delimiters $beginningdels = array_keys($this->_delimiters); $firstchar = substr($entry, 0, 1); $lastchar = substr($entry, -1, 1); .... </code> At this point there is no defined variable $entry in the context - hence I'm thinking this must be a typo of sorts. Is substr($entry, 0, 1); substr($entry, -1,1); meant to be substr($value, 0, 1); substr($value, 0, 1); ?


 [2010-08-20 02:27 UTC] olleolleolle (Olle Jonsson)
 [2012-01-17 20:08 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 by the end of next Sunday (CET). If this was a problem with the 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.