summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests
diff options
context:
space:
mode:
authorxue <>2006-02-13 18:18:32 +0000
committerxue <>2006-02-13 18:18:32 +0000
commit1b20976d3c07fa7a1737556a5987c88476c4782d (patch)
treeb124e876a96f62ac3539e0917c97160145908b6e /tests/FunctionalTests
parentb24ba1d92683a609a614fe915d3424cbbf854052 (diff)
Added PagePath property to TPage.
Diffstat (limited to 'tests/FunctionalTests')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Layout.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Layout.php b/tests/FunctionalTests/tickets/protected/pages/Layout.php
index 64b0aebe..c2a8a44c 100644
--- a/tests/FunctionalTests/tickets/protected/pages/Layout.php
+++ b/tests/FunctionalTests/tickets/protected/pages/Layout.php
@@ -4,7 +4,7 @@ class Layout extends TTemplateControl
{
public function onLoad($param)
{
- $num = str_replace('Ticket','',get_class($this->getPage()));
+ $num = str_replace('Ticket','',$this->getPage()->getPagePath());
$this->getPage()->setTitle("Verifying Ticket $num");
$this->ticketlink->setText("Verifying Ticket $num");
$this->ticketlink->setNavigateUrl("http://trac.pradosoft.com/ticket/{$num}");