[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-cvs
Subject:    [SM-CVS] SF.net SVN: squirrelmail:[13813]
From:       pdontthink () users ! sourceforge ! net
Date:       2009-08-10 23:18:20
Message-ID: E1Mae8C-0003qo-Bv () 74yxhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 13813
          http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=13813&view=rev
Author:   pdontthink
Date:     2009-08-10 23:18:20 +0000 (Mon, 10 Aug 2009)

Log Message:
-----------
Fix incorrect stristr() parameter order

Modified Paths:
--------------
    trunk/squirrelmail/functions/abook_local_file.php

Modified: trunk/squirrelmail/functions/abook_local_file.php
===================================================================
--- trunk/squirrelmail/functions/abook_local_file.php	2009-08-08 20:15:19 UTC (rev \
                13812)
+++ trunk/squirrelmail/functions/abook_local_file.php	2009-08-10 23:18:20 UTC (rev \
13813) @@ -589,7 +589,7 @@
     function quotevalue($value) {
         /* Quote the field if it contains | or ". Double quotes need to
          * be replaced with "" */
-        if(stristr('"', $value) || stristr('|', $value)) {
+        if(stristr($value, '"') || stristr($value, '|')) {
             $value = '"' . str_replace('"', '""', $value) . '"';
         }
         return $value;


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-----
squirrelmail-cvs mailing list
List address: squirrelmail-cvs@lists.sourceforge.net
List info (subscribe/unsubscribe/change options): \
                https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
Repository: http://squirrelmail.org/svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic