Skip to content

Commit

Permalink
Merge pull request #5 from AngelOfDeaths/patch-1
Browse files Browse the repository at this point in the history
* Fix
  • Loading branch information
slawkens authored Sep 3, 2017
2 parents ecce524 + 3f886c9 commit 2c3c152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/pages/bugtracker.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@
}
elseif($_REQUEST['add'] == TRUE)
{
$thread = $db->query('SELECT * FROM `' TABLE_PREFIX . 'bugtracker` where `account` = '.$acc.' and `type` = 1 order by `id` desc')->fetch();
$thread = $db->query('SELECT * FROM `' . TABLE_PREFIX . 'bugtracker` where `account` = '.$acc.' and `type` = 1 order by `id` desc')->fetch();
$id_next = $db->query('SELECT MAX(id) FROM `' . TABLE_PREFIX . 'bugtracker` where `account` = '.$acc.' and `type` = 1')->fetch();
$id_next = $id_next[0] + 1;

Expand Down

0 comments on commit 2c3c152

Please sign in to comment.