From 77e0aa0607832985a3b07ac9d86127f601cada7c Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 20 Mar 2017 18:33:02 +0100 Subject: [PATCH] Start with node id 1. --- framework/Yaml/lib/Horde/Yaml/Loader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Yaml/lib/Horde/Yaml/Loader.php b/framework/Yaml/lib/Horde/Yaml/Loader.php index 4702312ae29..9c28d8394d2 100644 --- a/framework/Yaml/lib/Horde/Yaml/Loader.php +++ b/framework/Yaml/lib/Horde/Yaml/Loader.php @@ -87,7 +87,7 @@ class Horde_Yaml_Loader */ public function __construct() { - $base = new Horde_Yaml_Node($this->_nodeId++); + $base = new Horde_Yaml_Node($this->_nodeId); $base->indent = 0; $this->_lastNode = $base->id; }