fix php 8

This commit is contained in:
Ibnu Maksum
2023-09-26 13:50:02 +07:00
parent 106aaf827f
commit 8d83763b62
3 changed files with 11 additions and 7 deletions

View File

@ -56,7 +56,11 @@ class Lang
}
public static function arrayCount($arr){
return count($arr);
if(is_array($arr)){
return count($arr);
}else{
return 0;
}
}
public static function getNotifText($key){