[#6446] Bug with indenting output in Horde/Yaml::dump
Summary Bug with indenting output in Horde/Yaml::dump
Queue Horde Framework Packages
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners Chuck Hagenbuch <chuck (at) horde (dot) org>
Requester apinstein (at) mac (dot) com
Created 03/13/2008 (60 days ago)
Due
Updated 03/14/2008 (59 days ago)
Assigned 03/14/2008 (59 days ago)
Resolved 03/14/2008 (59 days ago)
Attachments
Milestone
Patch

History
03/14/2008 Chuck Hagenbuch State ⇒ Resolved
Assigned to Chuck Hagenbuch
 
03/14/2008 apinstein (at) mac (dot) com Comment #3 Reply to this comment
Ah, fair enough! I didn't notice that there was an upgrade.

I initially noticed the bug 2+ months ago, and was just setting up Horde on another machine and the bug was there. Maybe I had already installed it from 1.0; a pear upgrade fixed it.

Sorry to bother!

03/14/2008 Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
This was fixed before release 1.0.1 of the package - what version are you using?
03/13/2008 apinstein (at) mac (dot) com Comment #1
Patch ⇒
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Bug with indenting output in Horde/Yaml::dump
Type ⇒ Bug
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Reply to this comment
Look in line 186 on Horde/Yaml/dumper.php. It says:

$indent += $this->_indent;

but should say:

$indent += $this->_options['indent'];

Please fix, thanks!