From 366de9b5496f221086e2ed013a3658b2e6d50a82 Mon Sep 17 00:00:00 2001
From: Enric Pineda
Date: Tue, 13 Jun 2023 00:12:49 +0200
Subject: [PATCH] =?UTF-8?q?Link=20de=20desc=C3=A0rrega=20de=20si=20el=20po?=
=?UTF-8?q?st=20est=C3=A0=20protegit?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
single-publicacions.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/single-publicacions.php b/single-publicacions.php
index 95b191a..b52a905 100644
--- a/single-publicacions.php
+++ b/single-publicacions.php
@@ -39,13 +39,14 @@ if ($adreca_butiko != "") {
term_id) === true) {
+ if (post_password_required() === false) {
$fitxer = get_field('arxiu_descarrega');
if ($fitxer) {
$adreca_fitxer = $fitxer['url'];
?>
-
+
">