summaryrefslogtreecommitdiff
path: root/demos/blog/protected/Pages/Posts/ViewPost.php
diff options
context:
space:
mode:
authorxue <>2006-05-30 21:26:29 +0000
committerxue <>2006-05-30 21:26:29 +0000
commitb87fd00a62994d24a3708cec5f5613ed2e9a67ed (patch)
tree175dae5b58cdbeaf8d66898483c15974495ca3fc /demos/blog/protected/Pages/Posts/ViewPost.php
parent75f28186a995aa930f6db9f05ec7b63bbd2cd284 (diff)
merge from 3.0 branch till 1111.
Diffstat (limited to 'demos/blog/protected/Pages/Posts/ViewPost.php')
-rw-r--r--demos/blog/protected/Pages/Posts/ViewPost.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/blog/protected/Pages/Posts/ViewPost.php b/demos/blog/protected/Pages/Posts/ViewPost.php
index 84f33cff..8d0a7124 100644
--- a/demos/blog/protected/Pages/Posts/ViewPost.php
+++ b/demos/blog/protected/Pages/Posts/ViewPost.php
@@ -75,7 +75,7 @@ class ViewPost extends BlogPage
public function deleteButtonClicked($sender,$param)
{
- $this->DataAccess->deletePost($this->PostID);
+ $this->DataAccess->deletePost($this->CurrentPost->ID);
$this->gotoDefaultPage();
}