* replace js:locate instead $this->locate.

This commit is contained in:
chencongzhi520@gmail.com
2013-07-06 09:15:26 +00:00
parent af02603fd5
commit fb1a69f8dc
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
<?php
$this->session->set('bugID', $bug->id);
if($this->session->bugType) die(js::locate($this->createLink('my', 'bug', "type={$this->session->bugType}"), 'parent'));
die(js::locate($this->createLink('bug', 'browse', "productID=$productID"), 'parent'));
if($this->session->bugType) die($this->locate($this->createLink('my', 'bug', "type={$this->session->bugType}")));
die($this->locate($this->createLink('bug', 'browse', "productID=$productID")));
?>
+1 -1
View File
@@ -1,2 +1,2 @@
<?php $this->session->set('storyID', $story->id);?>
<?php die(js::locate($this->createLink('product', 'browse', "productID=$product->id"), 'parent'));?>
<?php die($this->locate($this->createLink('product', 'browse', "productID=$product->id")));?>