mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-24 12:52:19 +09:00
Fix count() error in PHP 8.0 in content widget
https://xetown.com/questions/1508131
This commit is contained in:
parent
03e5909036
commit
57e702daea
2 changed files with 11 additions and 15 deletions
|
|
@ -420,8 +420,7 @@ class commentModel extends comment
|
|||
$comment_list = array($comment_list);
|
||||
}
|
||||
|
||||
$comment_count = count($comment_list);
|
||||
|
||||
$result = [];
|
||||
foreach($comment_list as $key => $attribute)
|
||||
{
|
||||
if(!$attribute->comment_srl)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue