commit 694dc4ef462963a3871b4ad5d2f52277bb6ed344 parent 6eb99c50669b5b3ec52b9fb2fba467042a1ef8b5 Author: MTRNord <mtrnord1@gmail.com> Date: Sat, 28 Feb 2015 22:33:51 +0100 bug found :D Diffstat:
| M | themes/jumbotron/admin.php | | | 17 | ++++++++--------- |
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/themes/jumbotron/admin.php b/themes/jumbotron/admin.php @@ -223,18 +223,17 @@ foreach($langs as $prio => $lang) { <th>Short Description</th> </tr> <?php - $x = 1; include($root . '/core/backend/blog/posts.php'); - while ($x <= $post_id_clean+1){ + while ($x < $post_id_clean+1){ include($root . '/core/config/connect.db.inc.php'); - echo (string)"<tr>"; - echo (string)"<td>$post_id</td>"; - echo (string)"<td>Jackson</td>"; - echo (string)"<td>94</td>"; - echo (string)"</tr>"; - echo $post_id; - $x = $x+1; next_id_only(); + echo "<tr>"; + echo "<td>$post_id</td>"; + echo "<td>Jackson</td>"; + echo "<td>94</td>"; + echo "</tr>"; + $x = $x+1; + $id = $id+1; } ?> </table>