summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorivan <ivan>2009-05-08 08:41:10 +0000
committerivan <ivan>2009-05-08 08:41:10 +0000
commit277ef4d5ea367fa4819fde5bed75ede8e53a7d9d (patch)
treef8c57b4e3a44c71b6b89fe56ad2a94c196bf1f5b /httemplate/edit
parentb45292bc0dcdf4604a97fca130dc2a3bc54a9f49 (diff)
fix cloning of custom packages where you've changed '(CUSTOM)', RT#5350
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-xhttemplate/edit/part_pkg.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi
index f40469937..a2ec63068 100755
--- a/httemplate/edit/part_pkg.cgi
+++ b/httemplate/edit/part_pkg.cgi
@@ -209,7 +209,9 @@ my $disabled_type = $acl_edit_either ? 'checkbox' : 'hidden';
my $agent_clone_extra_sql =
' ( '. FS::part_pkg->curuser_pkgs_sql.
#kludge to clone custom customer packages you otherwise couldn't see
- " OR ( part_pkg.disabled = 'Y' AND part_pkg.comment LIKE '(CUSTOM)%' ) ".
+ #really need a proper "CUSTOM" flag that's distinct from disabled
+ #" OR ( part_pkg.disabled = 'Y' AND part_pkg.comment LIKE '(CUSTOM)%' ) ".
+ " OR ( part_pkg.disabled = 'Y' ) ".
' ) ';
my $conf = new FS::Conf;