mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-04 18:24:32 +02:00
fix php 8
This commit is contained in:
parent
106aaf827f
commit
8d83763b62
3 changed files with 11 additions and 7 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue