From: <pdo...@us...> - 2009-08-10 23:18:30
|
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. |