PHP notice fixed
gitea/hedera-web/master This commit looks good Details

This commit is contained in:
Juan Ferrer 2020-02-07 15:00:59 +01:00
parent 4863ff83ba
commit bc4000f135
3 changed files with 3 additions and 3 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (1.407.08) stable; urgency=low hedera-web (1.407.09) stable; urgency=low
* Initial Release. * Initial Release.

View File

@ -1,6 +1,6 @@
{ {
"name": "hedera-web", "name": "hedera-web",
"version": "1.407.08", "version": "1.407.09",
"description": "Verdnatura web page", "description": "Verdnatura web page",
"license": "GPL-3.0", "license": "GPL-3.0",
"repository": { "repository": {

View File

@ -37,7 +37,7 @@ function getWebpackAssets() {
$jsFiles = []; $jsFiles = [];
foreach ($wpAssets as $name => $asset) foreach ($wpAssets as $name => $asset)
if (!empty($name) && property_exists($asset, 'js')) if (!empty($name) && $name != '_empty_' && property_exists($asset, 'js'))
$jsFiles[] = $serverPath . $asset->js; $jsFiles[] = $serverPath . $asset->js;
return $jsFiles; return $jsFiles;