[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 07/32: Compatibility PHP8.1 , node can be nul
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 07/32: Compatibility PHP8.1 , node can be null |
Date: |
Thu, 5 Jan 2023 14:18:29 -0500 (EST) |
sparkyx pushed a commit to branch devel
in repository noalyss.
commit 43e2ccb869caa05c12f4b68645e951c1129508b2
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Mon Dec 12 17:11:17 2022 +0100
Compatibility PHP8.1 , node can be null
---
include/admin_repo.inc.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/admin_repo.inc.php b/include/admin_repo.inc.php
index fad1ee4c4..70acdbaa2 100644
--- a/include/admin_repo.inc.php
+++ b/include/admin_repo.inc.php
@@ -178,7 +178,8 @@ hr {width: 600px; background-color: #cccccc; border: 0px;
height: 1px; color: #0
{
for ( $i = 0 ; $i < $a_table->length;$i++) {
$node=$a_table->item($i);
- $node->attributes->getNamedItem("width")->nodeValue="100%";
+ $node_width = $node->attributes->getNamedItem("width");
+ if ( $node_width != null ) $node_width->nodeValue="100%";
}
}
- [Noalyss-commit] [noalyss] branch devel updated (f1d3862e1 -> f78ec1e40), Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 01/32: Do no save empty comment or description, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 07/32: Compatibility PHP8.1 , node can be null,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 10/32: Esthetic, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 13/32: Correct return value of Table_Data_SQL->load : false if nothing found, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 11/32: Cleaning code : TVA rewritten, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 23/32: New : Follow Up , the description modifiable is using NicEdit, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 32/32: Merge branch '9035-followup-description-mod-rtf', Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 22/32: PHP 8.1 , option ASSERT_QUIET_EVAL is removed, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 27/32: Fix Bug TVA : cannot save VAT, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 20/32: New #0001327: Code TVA : utilisation des symboles plutôt que des codes, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 02/32: Bug : incorrect name, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 12/32: PHPUNIT improve test, Dany De Bontridder, 2023/01/05