Update LBRY_Network_Publisher.php

removed isset check from _lbry_post_published_license
This commit is contained in:
Lemuel Smyth 2022-02-16 14:48:53 -06:00 committed by GitHub
parent 42f57fc8b2
commit 39a78399c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,7 +92,7 @@ class LBRY_Network_Publisher
// Set License Published under
$published_license = $output->value->license;
if ( isset( $published_license ) && ( $published_license !== null ) ) {
if ( ( $published_license ) && ( $published_license !== null ) ) {
update_post_meta( $post->ID, '_lbry_post_published_license', $published_license );
}