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

Bug #2730 Notice: Undefined offset in Highlighter.php
Submitted: 2004-11-10 14:20 UTC
From: joern_h at gmx dot net Assigned: blindman
Status: Closed Package: Text_Highlighter
PHP Version: 4.3.8 OS: Windows 2000
Roadmaps: (Not assigned)    
Subscription  


 [2004-11-10 14:20 UTC] joern_h at gmx dot net
Description: ------------ Text_Highlighter Version 0.6.0: With error_reporting set to E_ALL I get "Notice: Undefined offset: x in Highlighter.php on line 256" with the cpp and css highlighters. Changing line 256 of Highlighter.php from if ($this->_subst[$l][$i]) { to if (!empty($this->_subst[$l][$i])) { should solve this problem.

Comments

 [2004-11-11 08:49 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2004-11-11 17:30 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!