Skip to content
Permalink
Browse files

Fix Warning: count(): in feedwordpress.php::885 #98

  • Loading branch information...
martinburchell committed Nov 15, 2018
1 parent 999ad91 commit f58ebcf4926fa57bbc1eb309bb6387b0add1c085
Showing with 1 addition and 1 deletion.
  1. +1 −1 feedwordpress.php
@@ -699,7 +699,7 @@ function feedwordpress_post_edit_controls () {
global $post;
$frozen_values = get_post_custom_values('_syndication_freeze_updates', $post->ID);
$frozen_post = (count($frozen_values) > 0 and 'yes' == $frozen_values[0]);
$frozen_post = ($frozen_values !== null and count($frozen_values) > 0 and 'yes' == $frozen_values[0]);
if (is_syndicated($post->ID)) :
?>

0 comments on commit f58ebcf

Please sign in to comment.
You can’t perform that action at this time.