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) {