Skip to content

Commit db7f07e

Browse files
fix: allow DNSResolverSettings::$python_script to access choices callable #681
1 parent e56d961 commit db7f07e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Models/DNSResolverSettings.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class DNSResolverSettings extends Model {
149149
* Obtains all available Python module options.
150150
* @return array The available Python module options.
151151
*/
152-
protected function get_python_script_options(): array {
152+
public function get_python_script_options(): array {
153153
# Use glob to obtain all .py files in /var/unbound/
154154
$files = glob('/var/unbound/*.py');
155155

0 commit comments

Comments
 (0)