Fix requires_php check

This commit is contained in:
Renatho De Carli Rosa 2020-11-13 16:37:33 -03:00
parent 5cbcdcd92c
commit c2b066edcb
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class WC_Helper_Updater {
'upgrade_notice' => $data['upgrade_notice'],
);
if ( $data['requires_php'] ) {
if ( isset( $data['requires_php'] ) ) {
$item['requires_php'] = $data['requires_php'];
}