diff options
author | Derek Allard <derek.allard@ellislab.com> | 2007-05-02 03:18:58 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2007-05-02 03:18:58 +0200 |
commit | 31d363b39fe8ec09e1af3b4441f9bd5844bf8224 (patch) | |
tree | c2e07a5d068a4153d55ba6328b8d2a31189a8921 /system/libraries/Validation.php | |
parent | d4e680ac433b5750c486f2eb4c96b864cf897ea1 (diff) |
// Prep the current page - no funny business!
$this->cur_page = preg_replace("/[a-z\-]/", "", $this->cur_page);
became
// Prep the current page - no funny business!
$this->cur_page = (int) $this->cur_page;
Diffstat (limited to 'system/libraries/Validation.php')
0 files changed, 0 insertions, 0 deletions