[Solar-svn] Revision 2771
pmjones at solarphp.com
pmjones at solarphp.com
Sun Sep 23 15:12:26 CDT 2007
branch: Solar_Mime: [FIX] Copy & paste typo; thanks, Antti Holvikari.
fixes #99
Modified: branches/orm/Solar/Mime.php
===================================================================
--- branches/orm/Solar/Mime.php 2007-09-23 20:10:05 UTC (rev 2770)
+++ branches/orm/Solar/Mime.php 2007-09-23 20:12:26 UTC (rev 2771)
@@ -147,13 +147,13 @@
// so later we can concat the encoded string and the double quotes back
// together to get the intended string.
$quotePrefix = $quoteSuffix = '';
- if ($hdr_value{0} == '"') {
- $hdr_value = substr($hdr_value, 1);
+ if ($hdr_val{0} == '"') {
+ $hdr_val = substr($hdr_val, 1);
$quotePrefix = '"';
}
- if ($hdr_value{strlen($hdr_value)-1} == '"') {
- $hdr_value = substr($hdr_value, 0, -1);
+ if ($hdr_val{strlen($hdr_val)-1} == '"') {
+ $hdr_val = substr($hdr_val, 0, -1);
$quoteSuffix = '"';
}
@@ -189,7 +189,7 @@
$reg2nd = "|(.{0,$maxLength})[^\=]|";
// Concat the double quotes if existant and encoded string together
- $hdr_value = $quotePrefix . $hdr_value . $quoteSuffix;
+ $hdr_val = $quotePrefix . $hdr_val . $quoteSuffix;
// Begin with the regexp for the first line.
$reg = $reg1st;
More information about the Solar-svn
mailing list