Undefined subroutine &main::get_postgres_allowed_hosts

Hello Jamie. I just upgraded Virtualmin GPL to version 3.58.
I find the allowed hosts feature very usefull, however I get this error when i go on "Edit databases" for a virtual server (the remote hosts tab):
HTTP/1.0 500 Perl execution failed Server: MiniServ/0.01 Date: Tue, 10 Jun 2008 06:38:14 GMT Content-type: text/html Connection: close
Error - Perl execution failed
Undefined subroutine &main::get_postgres_allowed_hosts called at /usr/libexec/webmin/virtual-server/list_databases.cgi line 206.

There is a box showing allowed hosts for mysql which seems to be working, but i get this nasty error about postgresql.
Any suggestions?

Status: 
Closed (fixed)