From 39a78399c8c21b4a4b5e5d4c29491d127c59b220 Mon Sep 17 00:00:00 2001 From: Lemuel Smyth <36257395+lemsmyth@users.noreply.github.com> Date: Wed, 16 Feb 2022 14:48:53 -0600 Subject: [PATCH] Update LBRY_Network_Publisher.php removed isset check from _lbry_post_published_license --- classes/LBRY_Network_Publisher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/LBRY_Network_Publisher.php b/classes/LBRY_Network_Publisher.php index 1b64e6f..3f8ccda 100644 --- a/classes/LBRY_Network_Publisher.php +++ b/classes/LBRY_Network_Publisher.php @@ -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 ); }