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)    
Subscription  


 [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); ?

Comments

 [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 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.