WillyXJ / facileManager

A modular suite of web apps built with the sysadmin in mind.
www.facilemanager.com
GNU General Public License v2.0
88 stars 37 forks source link

[BUG] PHP deprecation warning when editing zone without NS records #616

Closed imyller closed 6 months ago

imyller commented 7 months ago

fM Version : 4.6.1 fmDNS Version : 6.0.3

In raising this issue, I confirm the following (please check boxes, eg [X]):


(BUG | ISSUE) Expected Behavior:

Zone is opened for edit with warning, but without PHP deprecation error.

(BUG | ISSUE) Actual Behavior:

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/facileManager/fm-modules/fmDNS/classes/class_records.php on line 922

phpdepreditzone

(BUG | ISSUE) Steps to reproduce:

WillyXJ commented 6 months ago

This is now fixed in fmDNS 6.0.4 and later.