Undefined variable $entry in _removeCurlyBracesDescription:
------------
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);
?shannah
shannahhttp://pear.php.net/bugs/14442
Structures_BibTex Bug
Reported by shannah
2008-08-03T09:39:25+00:00
PHP: 5.2.6 OS: All Package Version: CVS
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);
?]]>Structures_BibTex Bug
Reported by shannah
2008-08-03T09:39:25+00:00
PHP: 5.2.6 OS: All Package Version: CVS
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);
?]]>2008-08-03T09:39:25+00:00
doconnor [2012-01-17 15:08] http://pear.php.net/bugs/14442#1326812897
<div id="changeset">
<span class="removed">-Status: Open</span>
<span class="added">+Status: Closed</span>
<span class="removed">-Assigned To:</span>
<span class="added">+Assigned To: doconnor</span>
</div>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.]]><div id="changeset">
<span class="removed">-Status: Open</span>
<span class="added">+Status: Closed</span>
<span class="removed">-Assigned To:</span>
<span class="added">+Assigned To: doconnor</span>
</div>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.]]>2012-01-17T15:08:17+00:00
olleolleolle [2010-08-19 21:27] http://pear.php.net/bugs/14442#1282253259
Added #patch bug:14442;patch:typo_bug.patch;revision:1282256859;.]]>Added #patch bug:14442;patch:typo_bug.patch;revision:1282256859;.]]>2010-08-19T21:27:39+00:00