Cacti / plugin_thold

Thold Plugin for Cacti
GNU General Public License v2.0
60 stars 60 forks source link

Fix php error #676

Closed xmacan closed 3 weeks ago

xmacan commented 3 weeks ago

null can be returned here, php 8.x issue - strlen(): Passing null to parameter #1 ($string)

TheWitness commented 3 weeks ago

Lastly using count() is dangerous. I prefer cacti_sizeof().

xmacan commented 3 weeks ago

ok, better fix