Merge pull request #4 from lbryio/master

sync upstream
This commit is contained in:
Lemuel Smyth 2022-02-16 15:24:31 -06:00 committed by GitHub
commit 1acd7bda01
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 // Set License Published under
$published_license = $output->value->license; $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 ); update_post_meta( $post->ID, '_lbry_post_published_license', $published_license );
} }