From 3fff4f2781445123551457dc156b6e9be21c6f8c Mon Sep 17 00:00:00 2001 From: evansgl Date: Wed, 3 Jan 2024 18:33:12 +0200 Subject: [PATCH] Fix syntax error --- mydata/core/modules/facture/doc/pdf_sponge.modules.php | 2 +- mydata/mydatalist/index.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mydata/core/modules/facture/doc/pdf_sponge.modules.php b/mydata/core/modules/facture/doc/pdf_sponge.modules.php index 30f7bf0..3dfd268 100644 --- a/mydata/core/modules/facture/doc/pdf_sponge.modules.php +++ b/mydata/core/modules/facture/doc/pdf_sponge.modules.php @@ -1077,7 +1077,7 @@ public function write_file($object, $outputlangs, $srctemplatepath = '', $hidede $aade_invoiceUid = $object->array_options['options_mydata_reply_invoiceUid'] . " MARK " . $mark_result; $doc = new DOMDocument(); - if (!empty(url) { + if (!empty($url)) { $doc->loadHTML($url); $aTags = $doc->getElementsByTagName('a'); $qrcodestring = $aTags->item(0)->getAttribute('href'); diff --git a/mydata/mydatalist/index.php b/mydata/mydatalist/index.php index 80f2449..42d8cbe 100644 --- a/mydata/mydatalist/index.php +++ b/mydata/mydatalist/index.php @@ -35,7 +35,6 @@ function html($string) { return htmlspecialchars($string, REPLACE_FLAGS, CHARSET); } - /* function write_log($log_msg) {