[Rt-commit] r3798 - in rt/branches/CHALDEA-EXPERIMENTAL: . html/Elements

jesse at bestpractical.com jesse at bestpractical.com
Fri Sep 2 12:10:34 EDT 2005


Author: jesse
Date: Fri Sep  2 12:10:33 2005
New Revision: 3798

Modified:
   rt/branches/CHALDEA-EXPERIMENTAL/   (props changed)
   rt/branches/CHALDEA-EXPERIMENTAL/html/Elements/EditCustomField
Log:
 r14083 at hualien:  jesse | 2005-08-30 05:57:49 -0400
  r13553 at hualien:  jesse | 2005-08-19 10:42:36 -0400
   r13127 at hualien (orig r3658):  alexmv | 2005-08-15 18:38:56 -0400
    r5873 at zoq-fot-pik:  chmrr | 2005-08-15 18:42:04 -0400
     * Require that the object not only be defined but also valid, to pull
    values from it
   
  
 


Modified: rt/branches/CHALDEA-EXPERIMENTAL/html/Elements/EditCustomField
==============================================================================
--- rt/branches/CHALDEA-EXPERIMENTAL/html/Elements/EditCustomField	(original)
+++ rt/branches/CHALDEA-EXPERIMENTAL/html/Elements/EditCustomField	Fri Sep  2 12:10:33 2005
@@ -45,7 +45,7 @@
 %# END BPS TAGGED BLOCK }}}
 <%INIT>
 my $Values;
-if ($Object) {
+if ($Object and $Object->id) {
     $Values = $Object->CustomFieldValues($CustomField->id);
     $Values->Columns( qw( id CustomField ObjectType ObjectId Disabled Content ContentType ContentEncoding ) );
     $NamePrefix ||= join('-', 'Object', ref($Object), $Object->Id, 'CustomField', '');


More information about the Rt-commit mailing list