These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | include 'php/jodel-web.php'; |
||
3 | |||
4 | if(isset($_GET['lastPostId'])) |
||
5 | { |
||
6 | $view->lastPostId = htmlspecialchars($_GET['lastPostId']); |
||
7 | |||
8 | $posts = $view->getPosts($jodelAccountForView); |
||
9 | ?> |
||
10 | <div class="nextPosts"> |
||
11 | <?php |
||
12 | foreach($posts as $post) |
||
13 | { |
||
14 | |||
15 | $view->lastPostId = $post['post_id']; |
||
16 | $view->jodelToHtml($post); |
||
17 | } |
||
18 | ?> |
||
19 | </div> |
||
20 | <div class="lastPostId"> |
||
21 | <?php echo $view->lastPostId; ?> |
||
22 | </div> |
||
23 | <?php |
||
24 | } |
||
0 ignored issues
–
show
|
|||
25 |
This check marks files that end in a newline character, i.e. an empy line.