summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeff <jeff>2007-12-05 04:57:05 +0000
committerjeff <jeff>2007-12-05 04:57:05 +0000
commit75e3a9841cab567cfae6374f9b9d83069c5c4308 (patch)
tree3302a48d1cfb26eb5ee619822142f3b3a5afafc3
parent6e1a54c654d31f7686358882a10ad12b0a26e76c (diff)
wtf?
-rwxr-xr-xhttemplate/edit/process/part_pkg.cgi4
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 ( {