Commit 31d49fd71f22a8043fc342b8e6efd9a17baaaaa3

Authored by Elena.Budnik
1 parent 8289ec06

constants list -> start from 0

src/InputOutput/IHMImpl/Tools/IHMExpressionParserClass.php
... ... @@ -235,7 +235,7 @@ class IHMExpressionParserClass
235 235 $this->constantsArray = array();
236 236  
237 237 $constants_ = $dom->getElementsByTagName(self::$constantNode);
238   - for ($i = 1; $i < $constants_->length; $i++)
  238 + for ($i = 0; $i < $constants_->length; $i++)
239 239 $this->constantsArray[self::$constantTag.$constants_->item($i)->getAttribute(self::$constantNameAtt)] = $constants_->item($i)->nodeValue;
240 240 }
241 241  
... ...