summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/views/Template.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/views/Template.class.php b/src/views/Template.class.php
index 187e65b..540e4fc 100644
--- a/src/views/Template.class.php
+++ b/src/views/Template.class.php
@@ -82,14 +82,14 @@ class Template {
public function link($target, $text, $return=false) {
$ret = $this->ret;
- $this->ret = $return;
+ $this->ret |= $return;
$str = $this->tag('a', array('href'=>$target), $text);
$this->ret = $ret;
if ($this->ret||$return) return $str;
echo $str;
}
public function url($page) {
- return $this->base.rawurlencode($page);
+ return $this->base.$page;
}
public function row($cells) {