Skip to content
Permalink
Browse files

Merge pull request #103 from aptivate/fix-count-warning

Fix Warning: count(): in feedwordpress.php::885 #98 (props @martinburchell )
  • Loading branch information...
radgeek committed Sep 27, 2019
2 parents 999ad91 + f58ebcf commit 67b6c5a8002be3666402e4b492ff081cb67f692c
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 67b6c5a

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