diff --git a/debian/changelog b/debian/changelog index 54e7bb79..4090ea9a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.407.70) stable; urgency=low +hedera-web (1.407.71) stable; urgency=low * Initial Release. diff --git a/package.json b/package.json index cb39779d..b02d8ee0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "1.407.70", + "version": "1.407.71", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": { diff --git a/web/html.php b/web/html.php index cf0f6ad8..a92c9072 100644 --- a/web/html.php +++ b/web/html.php @@ -43,7 +43,11 @@ function getWebpackAssets() { && property_exists($asset, 'js')) $jsFiles[] = $serverPath . $asset->js; - $jsFiles[] = $serverPath . $wpAssets->{''}->js[0]; + if (isset($wpAssets->_empty_)) + $jsFiles[] = $serverPath . $wpAssets->_empty_->js[0]; + if (isset($wpAssets->{''})) + $jsFiles[] = $serverPath . $wpAssets->{''}->js[0]; + $jsFiles[] = $serverPath . $wpAssets->main->js; return $jsFiles;