diff --git a/src/Post.php b/src/Post.php index 0f30eab..6c0fc29 100644 --- a/src/Post.php +++ b/src/Post.php @@ -237,7 +237,7 @@ protected function taxonomy($query, $name, $slug) * The reasoning behind the pre and post fixing is so that a * category and tag search can be executed at the same time. */ - $postfix = substr(str_shuffle(str_repeat('abcdefghijklmnopqrstuvwxyz', 10), 0, 10)); + $postfix = substr(str_shuffle(str_repeat('abcdefghijklmnopqrstuvwxyz', 10)), 0, 10); $prefix = $query->getQuery()->getConnection()->getTablePrefix(); $query->select("posts.*")