From 5018dc0ada085c0e35cdcd50b51c5dbc28240a26 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 16 Oct 2009 01:21:53 +0000 Subject: [PATCH] MINOR Fixed assignment by reference in TestSession->lastPage() (deprecated in PHP 5.3) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@89244 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- dev/TestSession.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/TestSession.php b/dev/TestSession.php index 5b831ee39..1525fd6d6 100644 --- a/dev/TestSession.php +++ b/dev/TestSession.php @@ -134,7 +134,7 @@ class TestSession { require_once("thirdparty/simpletest/page.php"); require_once("thirdparty/simpletest/form.php"); - $builder = &new SimplePageBuilder(); + $builder = new SimplePageBuilder(); if($this->lastResponse) { $page = &$builder->parse(new TestSession_STResponseWrapper($this->lastResponse)); $builder->free();