From 5884e8868b3fd6a59efeb568f551547a9dc507d1 Mon Sep 17 00:00:00 2001 From: uckelman Date: Sat, 24 Apr 2010 16:59:41 +0000 Subject: Need to escape quotes. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6736 67b53d14-2c14-4ace-a08f-0dab2b34000c --- test/unbbcodeTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/unbbcodeTest.php') 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); -- cgit v1.2.3