diff --git a/php/classes/SharedObjectHeaderFile.php b/php/classes/SharedObjectHeaderFile.php
index fc50f80..7cd297d 100644
--- a/php/classes/SharedObjectHeaderFile.php
+++ b/php/classes/SharedObjectHeaderFile.php
@@ -117,7 +117,7 @@ class SharedObjectHeaderFile {
 		if (count($infoNodes) == 0)
 			return "";
 	
-		$infoNodes->item(0)->nodeValue = $infoValue;
+		$infoNodes->item(0)->textContent = $infoValue;
 		
 		$this->doc->save($this->filePath);
 	}
diff --git a/php/classes/TimeTableMgr.php b/php/classes/TimeTableMgr.php
index 1db316c..f9dfc2b 100644
--- a/php/classes/TimeTableMgr.php
+++ b/php/classes/TimeTableMgr.php
@@ -756,7 +756,7 @@ class TimeTableMgr extends AmdaObjectMgr
 				$descriptionNode = $descriptionNodes->item(0);
 			}
 
-			$descriptionNode->nodeValue = $newDescription;
+			$descriptionNode->textContent = $newDescription;
 		}
 
 		$dstFilePath = $dst_path . "/" . $newId . ".xml";
--
libgit2 0.21.2