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 | if(!(gettype($posts) == 'boolean')) |
||
13 | { |
||
14 | foreach($posts as $post) |
||
15 | { |
||
16 | $view->lastPostId = $post['post_id']; |
||
17 | $view->jodelToHtml($post); |
||
18 | } |
||
19 | } |
||
20 | ?> |
||
21 | </div> |
||
22 | <div class="lastPostId"> |
||
23 | <?php echo $view->lastPostId; ?> |
||
24 | </div> |
||
25 | <?php |
||
26 | } |
||
0 ignored issues
–
show
|
|||
27 |
This check marks files that end in a newline character, i.e. an empy line.