mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 05:00:30 -04:00
- Add patches from Check_MK that workaround missing sizeof() function in PHP 7.x - Bump PORTREVSION
11 lines
440 B
PHP
11 lines
440 B
PHP
--- share/pnp/application/models/config.php.orig 2017-08-21 15:52:37 UTC
|
|
+++ share/pnp/application/models/config.php
|
|
@@ -68,7 +68,7 @@ class Config_Model extends System_Model
|
|
$views = array();
|
|
include ($config_file);
|
|
$array_b = $views;
|
|
- if(sizeof($views) == 0 ){
|
|
+ if(empty($views)){
|
|
$views = $array_a;
|
|
}
|
|
}
|