From c744e9286ea11d6e9bafb878d75282b651073553 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Tue, 5 Feb 2019 14:18:38 +0100 Subject: [PATCH] WP assets fix --- debian/changelog | 2 +- package.json | 2 +- web/html.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index f26ecb30..8d32d9c3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.406.25) stable; urgency=low +hedera-web (1.406.26) stable; urgency=low * Initial Release. diff --git a/package.json b/package.json index 3e18b683..ff4e594b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "1.406.25", + "version": "1.406.26", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": { diff --git a/web/html.php b/web/html.php index 5aad98d8..6aaa9e5b 100644 --- a/web/html.php +++ b/web/html.php @@ -37,7 +37,7 @@ function getWebpackAssets() { $jsFiles = []; foreach ($wpAssets as $name => $asset) - if ($name && property_exists($asset, 'js')) + if (!empty($name) && property_exists($asset, 'js')) $jsFiles[] = $serverPath . $asset->js; return $jsFiles;