Permalink
Browse files

fixed bug with missing key

  • Loading branch information...
1 parent e9d83cb commit 8ff0d503333dc8699e62ad0d58b931a89102cf1c @paulbain committed May 6, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Bain/Plist.php
View
@@ -68,6 +68,7 @@ protected function toXml($data,$depth=0,$dict=true){
$xml.='<key>'.$k.'</key>';
$xml.='<array>'.$this->toXml($v,$depth+1,false).'</array>';
} else {
+ $xml.='<key>'.$k.'</key>';
$xml.=$this->toXml($v,$depth+1);
}
} else {

0 comments on commit 8ff0d50

Please sign in to comment.