Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -1424,17 +1424,13 @@ |
1425 | 1425 | } |
1426 | 1426 | $delim = !$delim; |
1427 | 1427 | } |
1428 | | - |
1429 | 1428 | // Double the backslashes before the end of the string, because |
1430 | 1429 | // we will soon add a quote |
1431 | 1430 | $m = array(); |
1432 | 1431 | if ( preg_match( '/^(.*?)(\\\\+)$/', $arg, $m ) ) { |
1433 | 1432 | $arg = $m[1] . str_replace( '\\', '\\\\', $m[2] ); |
1434 | 1433 | } |
1435 | | - |
1436 | | - // The caret is also an special character |
1437 | | - $arg = str_replace( "^", "^^", $arg ); |
1438 | | - |
| 1434 | + |
1439 | 1435 | // Add surrounding quotes |
1440 | 1436 | $retVal .= '"' . $arg . '"'; |
1441 | 1437 | } else { |