phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: nntp/inc class.nntp.inc.php,1.7.2.1,1.7.2.2


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: nntp/inc class.nntp.inc.php,1.7.2.1,1.7.2.2
Date: Sat, 14 Sep 2002 08:17:10 -0400

Update of /cvsroot/phpgroupware/nntp/inc
In directory subversions:/tmp/cvs-serv27655/nntp/inc

Modified Files:
      Tag: Version-0_9_14-branch
        class.nntp.inc.php 
Log Message:
This will prevent those long newsgroup names from trying to be inserted into 
the table.

Index: class.nntp.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/nntp/inc/class.nntp.inc.php,v
retrieving revision 1.7.2.1
retrieving revision 1.7.2.2
diff -C2 -r1.7.2.1 -r1.7.2.2
*** class.nntp.inc.php  15 Apr 2002 04:02:56 -0000      1.7.2.1
--- class.nntp.inc.php  14 Sep 2002 12:17:07 -0000      1.7.2.2
***************
*** 132,136 ****
                                                $ret['last'] = $fields[1];
                                                //$retval[] = $ret;
!                                               $this->save_to_db($ret);
                                        }
                                }
--- 132,139 ----
                                                $ret['last'] = $fields[1];
                                                //$retval[] = $ret;
!                                               if (strlen($ret['name']) <= 255)
!                                               {
!                                                       $this->save_to_db($ret);
!                                               }
                                        }
                                }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]