phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: developer_tools/inc class.solangfile.inc.php,1.


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: developer_tools/inc class.solangfile.inc.php,1.9.2.4,1.9.2.4.2.1
Date: Mon, 31 Mar 2003 15:42:25 -0500

Update of /cvsroot/phpgroupware/developer_tools/inc
In directory subversions:/tmp/cvs-serv17873

Modified Files:
      Tag: Version-0_9_16-branch
        class.solangfile.inc.php 
Log Message:
limited the length of the message_id to 230 and defined a constant for it


Index: class.solangfile.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/developer_tools/inc/class.solangfile.inc.php,v
retrieving revision 1.9.2.4
retrieving revision 1.9.2.4.2.1
diff -C2 -r1.9.2.4 -r1.9.2.4.2.1
*** class.solangfile.inc.php    28 Feb 2003 15:44:35 -0000      1.9.2.4
--- class.solangfile.inc.php    31 Mar 2003 20:42:23 -0000      1.9.2.4.2.1
***************
*** 304,307 ****
--- 304,312 ----
                        while (list($x,$data) = @each($langarray))
                        {
+                               if (strlen($data['message_id']) > 
MAX_MESSAGE_ID_LENGTH)
+                               {
+                                       $data['message_id'] = 
substr($data['message_id'],0,MAX_MESSAGE_ID_LENGTH);
+                               }
+                               
                                $addit = False;
                                /*echo '<br><br><pre> checking ' . 
$data['message_id'] . "\t" . $data['app_name'] . "\t" . $userlang . "\t" . 
$data['content'];*/





reply via email to

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