[freeside-commits] freeside/httemplate/edit/elements edit.html, 1.33, 1.34
Ivan,,,
ivan at wavetail.420.am
Sat Feb 7 18:05:27 PST 2009
Update of /home/cvs/cvsroot/freeside/httemplate/edit/elements
In directory wavetail.420.am:/tmp/cvs-serv1782/httemplate/edit/elements
Modified Files:
edit.html
Log Message:
further work on agents editing own packages: allow them to see (but not edit) global packages for their type, RT#1331
Index: edit.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/elements/edit.html,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- edit.html 25 Jan 2009 23:58:25 -0000 1.33
+++ edit.html 8 Feb 2009 02:05:25 -0000 1.34
@@ -254,7 +254,7 @@
% 'layer_values' => $layer_values,
% 'html_between' => $f->{'html_between'},
%
-% #umm.
+% #umm. for select-agent_types at least
% 'disabled' => $f->{'disabled'},
% );
%
@@ -641,7 +641,8 @@
$value = $query;
}
$value =~ /^(\d+)$/ or die "unparsable $pkey";
- $object = qsearchs({ %qsearch, 'hashref' => { $pkey => $1 } });
+ $object = qsearchs({ %qsearch, 'hashref' => { $pkey => $1 } })
+ or die "$pkey $1 not found in $table";
warn "$table $pkey => $1"
if $opt{'debug'};
More information about the freeside-commits
mailing list