diff options
author | uckelman <uckelman@nomic.net> | 2010-04-24 16:59:41 +0000 |
---|---|---|
committer | uckelman <uckelman@nomic.net> | 2010-04-24 16:59:41 +0000 |
commit | 5884e8868b3fd6a59efeb568f551547a9dc507d1 (patch) | |
tree | d0b97de6d172472222b20ba74e9a989ba9a29f0b | |
parent | 64bfac6e474b549bd938c9e9c659139a88d47eee (diff) |
Need to escape quotes.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6736 67b53d14-2c14-4ace-a08f-0dab2b34000c
-rw-r--r-- | test/unbbcodeTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unbbcodeTest.php b/test/unbbcodeTest.php index b39f536..973352f 100644 --- a/test/unbbcodeTest.php +++ b/test/unbbcodeTest.php @@ -20,9 +20,9 @@ class unbbcodeTest extends PHPUnit_Framework_TestCase { try { require_once("src/unbbcode.php"); - \$msg = '$msg'; - \$uid = '$uid'; - \$bitfield = '$bitfield'; + \$msg = \\'$msg\\'; + \$uid = \\'$uid\\'; + \$bitfield = \\'$bitfield\\'; \$unbbcode = new unbbcode(); \$unbbcode->bbcode_second_pass(\$msg, \$uid, \$bitfield); |