diff options
author | jeff <jeff> | 2007-12-05 04:57:27 +0000 |
---|---|---|
committer | jeff <jeff> | 2007-12-05 04:57:27 +0000 |
commit | 22c7daa1fd079e3ec9dee4da241f83e174132e4e (patch) | |
tree | c12ebda4f3bf0c6a04168e7394743724476de9da /httemplate | |
parent | 686be6f8b154829a44c325ea8ee5fba19aef9902 (diff) |
wtf?
Diffstat (limited to 'httemplate')
-rwxr-xr-x | httemplate/edit/process/part_pkg.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/process/part_pkg.cgi b/httemplate/edit/process/part_pkg.cgi index e4cf45984..b29e96305 100755 --- a/httemplate/edit/process/part_pkg.cgi +++ b/httemplate/edit/process/part_pkg.cgi @@ -38,8 +38,8 @@ %} %$error = "At least one agent type must be specified." % unless( scalar(@agents) || -% $cgi->param('clone') && $cgi->param('clone') ~= /^\d+$/ || -% !pkgpart && $conf->exists('agent-defaultpkg') +% $cgi->param('clone') && $cgi->param('clone') =~ /^\d+$/ || +% !$pkgpart && $conf->exists('agent-defaultpkg') % ); % %my $new = new FS::part_pkg ( { |