mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 20:46:24 +00:00
Minor changes to PaginatorHelper. $this->url() instead of parent::url()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7165 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
44159ec303
commit
0ce344d852
2 changed files with 2 additions and 2 deletions
|
@ -281,7 +281,7 @@ class PaginatorHelper extends AppHelper {
|
||||||
if ($asArray) {
|
if ($asArray) {
|
||||||
return $url;
|
return $url;
|
||||||
}
|
}
|
||||||
return parent::url($url);
|
return $this->url($url);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Protected method for generating prev/next links
|
* Protected method for generating prev/next links
|
||||||
|
|
|
@ -227,7 +227,7 @@ class RssHelper extends XmlHelper {
|
||||||
unset($val['convertEntities']);
|
unset($val['convertEntities']);
|
||||||
}
|
}
|
||||||
if (!is_null($val) && $escape) {
|
if (!is_null($val) && $escape) {
|
||||||
$val = h($val);
|
$val = h($val);
|
||||||
}
|
}
|
||||||
$elements[$key] = $this->elem($key, $attrib, $val);
|
$elements[$key] = $this->elem($key, $attrib, $val);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue