X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2FStatus.html;h=eb7df68469d671119a6d0a485ecf28b516676bdf;hb=f585e97f2a3690339066bbb7fbb6f87f4600cff6;hp=f1060874c0cbf55aadbcf695c0edf78966af9e1a;hpb=e522b7d9cdd4ce8bc1cd3e3d1d9a56afb470ff93;p=freeside.git diff --git a/httemplate/view/Status.html b/httemplate/view/Status.html index f1060874c..eb7df6846 100644 --- a/httemplate/view/Status.html +++ b/httemplate/view/Status.html @@ -93,7 +93,7 @@ if ( $db eq 'PostgreSQL' ) { && FS::Record->scalar_sql('SHOW archive_mode') eq 'on'; my $slave = - FS::Record->scalar_sql('SHOW archive_command') =~ / postgres\@([\w\.\-]): / + FS::Record->scalar_sql('SHOW archive_command') =~ / postgres\@([\w\.\-]+): / ? $1 : ''; $status{'Replication'} = [