Skip to content

Commit

Permalink
Update search.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaphster authored Dec 3, 2016
1 parent 5308ed2 commit ace2ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
$result = mysqli_query($db_link, $query);
while($row = mysqli_fetch_assoc($result)){
if($row['numFiles'] == 0){
$query = "DELETE from manifest where id = $row['id'];";
$query = "DELETE from manifest where id = ".$row['id'];
mysqli_query($db_link, $query);
}
}
Expand Down

0 comments on commit ace2ff5

Please sign in to comment.