From 7770c298450237e092d6d801fd547609ba2db230 Mon Sep 17 00:00:00 2001
From: xue <>
Date: Mon, 13 Mar 2006 02:38:47 +0000
Subject: TDataFieldAccessor can access public member variables now. Added
 implementation to cope with low PHP versions.

---
 tests/FunctionalTests/selenium/php/selenium.php | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

(limited to 'tests')

diff --git a/tests/FunctionalTests/selenium/php/selenium.php b/tests/FunctionalTests/selenium/php/selenium.php
index 4b36b8c2..4a4c6e19 100644
--- a/tests/FunctionalTests/selenium/php/selenium.php
+++ b/tests/FunctionalTests/selenium/php/selenium.php
@@ -113,8 +113,8 @@ class SeleneseInterpreter
 	{
 		if($func{0} == '_') return;
 		$ID = isset($args[0]) ? $args[0] : "";
-		if($ID instanceof TControl)
-			$ID = $ID->ClientID;
+		//if($ID instanceof TControl)
+		//	$ID = $ID->ClientID;
 		$value = isset($args[1]) ? $args[1] : "";
 		if(strpos(strtolower($func),'htmlpresent') || strpos(strtolower($func),'htmlnotpresent'))
 			$ID = htmlspecialchars($ID);
@@ -150,11 +150,12 @@ class SeleniumTestTrace
 		$name = $test[$i-2].'::'.$test[$i-1];
 		$suite = $test[0];
 		unset($info['object']);
+		/*
 		for($i = 0; $i < count($info['args']); $i++)
 		{
 			if($info['args'][$i] instanceof TControl)
 				$info['args'][$i] = $info['args'][$i]->ClientID;
-		}
+		}*/
 		$file = str_replace($this->root, '', $info['file']);
 		$info['file'] = substr($file, 1);
  		return array($info, $name, $suite);
-- 
cgit v1.2.3