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,1.8


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

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

Modified Files:
        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
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** class.nntp.inc.php  21 Dec 2001 03:59:13 -0000      1.7
--- class.nntp.inc.php  14 Sep 2002 12:17:19 -0000      1.8
***************
*** 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]