diff options
| author | Andreas Fischer <bantu@phpbb.com> | 2009-10-03 13:23:10 +0000 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2009-10-03 13:23:10 +0000 |
| commit | 8661541d0dc8dbf95082e49180400ae81c4a1247 (patch) | |
| tree | 8491958b403ef04844a8845288f631b60bccef2d /phpBB/feed.php | |
| parent | 8bae4958749d32fcc5c34b955232045269b453f0 (diff) | |
| download | forums-8661541d0dc8dbf95082e49180400ae81c4a1247.tar forums-8661541d0dc8dbf95082e49180400ae81c4a1247.tar.gz forums-8661541d0dc8dbf95082e49180400ae81c4a1247.tar.bz2 forums-8661541d0dc8dbf95082e49180400ae81c4a1247.tar.xz forums-8661541d0dc8dbf95082e49180400ae81c4a1247.zip | |
Some nitpicks before we include this file in a final release.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10202 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/feed.php')
| -rw-r--r-- | phpBB/feed.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/feed.php b/phpBB/feed.php index 9603b27301..a6206d9203 100644 --- a/phpBB/feed.php +++ b/phpBB/feed.php @@ -249,7 +249,7 @@ function feed_generate_content($content, $uid, $bitfield, $options) $content = str_replace('./', $board_url . '/', $content); // Remove "Select all" link and mouse events - $content = str_replace('<a href="#" onclick="selectCode(this); return false;">' .$user->lang['SELECT_ALL_CODE'] . '</a>', '', $content); + $content = str_replace('<a href="#" onclick="selectCode(this); return false;">' . $user->lang['SELECT_ALL_CODE'] . '</a>', '', $content); $content = preg_replace('#(onkeypress|onclick)="(.*?)"#si', '', $content); // Firefox does not support CSS for feeds, though @@ -450,7 +450,7 @@ class phpbb_feed $this->sql = array(); // Set some values for pagination - $this->num_items = $config['feed_limit']; + $this->num_items = (int) $config['feed_limit']; $this->set_keys(); } @@ -828,7 +828,7 @@ class phpbb_feed_forums extends phpbb_feed $this->set('date', 'forum_last_post_time'); $this->set('options', 'forum_desc_options'); - $this->num_items = $config['feed_overall_forums_limit']; + $this->num_items = (int) $config['feed_overall_forums_limit']; } function open() |
