Fix requires_php check
This commit is contained in:
parent
5cbcdcd92c
commit
c2b066edcb
|
@ -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'];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue