mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Fix warnings in PHP 8.0
This commit is contained in:
parent
2cf2ce2d67
commit
ebe806f7a5
2 changed files with 2 additions and 2 deletions
|
|
@ -71,7 +71,7 @@ class commentItem extends BaseObject
|
|||
*/
|
||||
function setAttribute($attribute)
|
||||
{
|
||||
if(!$attribute->comment_srl)
|
||||
if(!is_object($attribute) || !$attribute->comment_srl)
|
||||
{
|
||||
$this->comment_srl = NULL;
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue