jhuesser/bzu-jodel-clone

View on GitHub
comments.php

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Identical blocks of code found in 2 locations. Consider refactoring.
Open

if(!isset($comment['imageIDFK'])){
echo $comment['comment'];
} else {
$imageurl = $apiroot . "images?transform=1&filter=imageID,eq," . $comment['imageIDFK'];
$imagejson = getCall($imageurl);
Severity: Major
Found in comments.php and 1 other location - About 1 hr to fix
user/mod.php on lines 287..297
Category
Status