Skip to content

Commit

Permalink
Preview 3 has started, do not show moved topic entries in index list
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick committed Jan 18, 2015
1 parent f1dc33c commit 631b804
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/draw_functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ function draw_index_topics_list($section_id) {
if ($section_id != 0)
$result = $db->query('SELECT id FROM '.$db->prefix.'topics WHERE forum_id='.$section_id.' ORDER BY sticky DESC, '.$sort_by.', id DESC LIMIT '.$start_from.', '.$luna_user['disp_topics']) or error('Unable to fetch topic IDs', __FILE__, __LINE__, $db->error());
else
$result = $db->query('SELECT id FROM '.$db->prefix.'topics ORDER BY id DESC LIMIT 30') or error('Unable to fetch topic IDs', __FILE__, __LINE__, $db->error());
$result = $db->query('SELECT id FROM '.$db->prefix.'topics WHERE moved_to IS NULL ORDER BY id DESC LIMIT 30') or error('Unable to fetch topic IDs', __FILE__, __LINE__, $db->error());

// If there are topics in this forum
if ($db->num_rows($result)) {
Expand Down
4 changes: 2 additions & 2 deletions include/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

class Version {
// See http://getluna.org/docs/version.php for more info
const FORUM_VERSION = '0.2.0';
const FORUM_VERSION = '0.3-dev';

// The Luna Core version
const FORUM_CORE_VERSION = '0.2.3660';
const FORUM_CORE_VERSION = '0.3.3664';

// The database version number, every change in the database requires this number to go one up
const FORUM_DB_VERSION = '87.14';
Expand Down

0 comments on commit 631b804

Please sign in to comment.