From fcf706182de41ecbf09fbc714b54c8506c81cef9 Mon Sep 17 00:00:00 2001 From: doctrine <doctrine@625475ce-881a-0410-a577-b389adb331d8> Date: Sun, 21 May 2006 17:58:55 +0000 Subject: [PATCH] Fixed a small bug in Doctrine_Lib.class.php where the non-existant Doctrine_Session::getStateAsString was called instead of Doctrine_Lib::getSessionStateAsString. --- classes/Lib.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Lib.class.php b/classes/Lib.class.php index 15d866ada..e8a9ba91b 100644 --- a/classes/Lib.class.php +++ b/classes/Lib.class.php @@ -68,7 +68,7 @@ class Doctrine_Lib { public function getSessionAsString(Doctrine_Session $session) { $r[] = "<pre>"; $r[] = "Doctrine_Session object"; - $r[] = "State : ".Doctrine_Session::getStateAsString($session->getState()); + $r[] = "State : ".Doctrine_Lib::getSessionStateAsString($session->getState()); $r[] = "Open Transactions : ".$session->getTransactionLevel(); $r[] = "Open Factories : ".$session->count(); $sum = 0;