[Rt-commit] [svn] r1827 - in rt/branches/PLATANO-EXPERIMENTAL-CSS: . lib/RT

jesse at pallas.eruditorum.org jesse at pallas.eruditorum.org
Thu Nov 11 03:28:55 EST 2004


Author: jesse
Date: Thu Nov 11 03:28:55 2004
New Revision: 1827

Modified:
   rt/branches/PLATANO-EXPERIMENTAL-CSS/   (props changed)
   rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/Record.pm
Log:
 r9089 at tinbook:  jesse | 2004-11-11T02:59:48.064760Z
  r6090 at tinbook:  jesse | 2004-10-23T21:44:41.851286Z
  Fixed a warning when objects were created with no names
  
 


Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/Record.pm
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/Record.pm	(original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/Record.pm	Thu Nov 11 03:28:55 2004
@@ -559,7 +559,7 @@
 sub ValidateName {
     my $self = shift;
     my $value = shift;
-    if ($value =~ /^\d+$/) {
+    if ($value && $value=~ /^\d+$/) {
         return(0);
     } else  {
          return (1);


More information about the Rt-commit mailing list