QRCode lib

This commit is contained in:
2022-11-04 15:41:04 +06:00
parent c8a393ccd1
commit 625548f670
4 changed files with 654 additions and 17 deletions

View File

@ -815,7 +815,16 @@
{
if(array_key_exists ( $nextnode->getAttribute("n"), $row) || ($nextnode->getAttribute("vt")=="file" && array_key_exists ( $nextnode->getAttribute("cd"), $row)))
{
if($nextnode->getAttribute("vt")=="b"){ if($row[$nextnode->getAttribute("n")]===false) { $row[$nextnode->getAttribute("n")]="0"; } else if($row[$nextnode->getAttribute("n")]===true) { $row[$nextnode->getAttribute("n")]="1"; } }
if($nextnode->getAttribute("vt")=="b")
{
if($row[$nextnode->getAttribute("n")]===false)
{
$row[$nextnode->getAttribute("n")]="0";
} else if($row[$nextnode->getAttribute("n")]===true)
{
$row[$nextnode->getAttribute("n")]="1";
}
}
if($nextnode->getAttribute("vt")=="blob") { //Только blob не file так как file как обычная текстовая строка (100 символов)
if(array_key_exists($nextnode->getAttribute("cd"), $row)) {