svc_acct.pm bogosity too, wtf?!, RT#4204
authorivan <ivan>
Sun, 21 Dec 2008 21:49:47 +0000 (21:49 +0000)
committerivan <ivan>
Sun, 21 Dec 2008 21:49:47 +0000 (21:49 +0000)
FS/FS/svc_acct.pm

index d59ee5e..2fc3d76 100644 (file)
@@ -249,7 +249,8 @@ sub table_info {
                         label    => 'Shell',
                          def_label=> 'Shell (set to blank for no shell tracking)',
                          type     =>'select',
-                         select_list => [ $conf->config('shells') ],
+                         #select_list => [ $conf->config('shells') ],
+                         select_list => [ $conf ? $conf->config('shells') : () ],
                          disable_inventory => 1,
                          disable_select => 1,
                        },