maplefu0602 / spyc

Automatically exported from code.google.com/p/spyc
MIT License
0 stars 0 forks source link

PHP Notice: Array to string conversion in /Library/WebServer/Documents/bugsframe/apptemplate/shell/spyc.php on line 776 #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
- PHP Notice if error_reporting is set to E_ALL
- tested with provided spyc.yaml

What is the expected output? What do you see instead?
No PHP Notice 

What version of the product are you using? On what operating system?
spyc-0.4.5 (PHP5)

Please provide any additional information below.
My solution: (spyc.php: line 775)
775. if (!is_array ($_arr)) $_arr = array ($key=>$value);
776. else $_arr[$key] = $value;

Original issue reported on code.google.com by rptgoo...@shapefruit.de on 14 Oct 2009 at 2:07

GoogleCodeExporter commented 8 years ago
Thanks, it's fixed in the SVN trunk

Original comment by vlad.and...@gmail.com on 31 May 2010 at 9:35