Skip to content

Commit

Permalink
Extraneous checks
Browse files Browse the repository at this point in the history
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
  • Loading branch information
joshuaadickerson authored and norv committed Jul 15, 2013
1 parent 6a3f1cd commit 4fb32b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sources/subs/Topic.subs.php
Original file line number Diff line number Diff line change
Expand Up @@ -1119,9 +1119,9 @@ function getTopicInfo($topic_parameters, $full = '', $selects = array(), $tables
'board' => (int) $board,
);

$messages_table = !empty($full) && ($full === 'message' || $full === 'all');
$follow_ups_table = !empty($full) && ($full === 'follow_up' || $full === 'all');
$logs_table = !empty($full) && $full === 'all';
$messages_table = $full === 'message' || $full === 'all';
$follow_ups_table = $full === 'follow_up' || $full === 'all';
$logs_table = $full === 'all';

// Create the query, taking full and integration in to account
$request = $db->query('', '
Expand Down

0 comments on commit 4fb32b4

Please sign in to comment.