Skip to content
Permalink
Browse files

[ bugfix ] PHP7.2 対応

  • Loading branch information...
kurudrive committed Dec 19, 2017
1 parent 9863a00 commit 0dca7dbb123c31537b51b297fb3d0c50be3030ac
Showing with 1 addition and 1 deletion.
  1. +1 −1 single.php
@@ -44,8 +44,8 @@
// Get now post's tag(terms)
if (isset($biz_vektor_options['postRelatedCount']) && $biz_vektor_options['postRelatedCount'] ) {
$terms = get_the_terms($post->ID,'post_tag');
$tag_count = count($terms);
if ($terms) {
$tag_count = count($terms);
$posts_count = mb_convert_kana($biz_vektor_options['postRelatedCount'], "a", "UTF-8");
// Set basic arrays
$args = array( 'post_type' => 'post' ,'post__not_in' => array($post->ID), 'posts_per_page' => $posts_count );

0 comments on commit 0dca7db

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